ٟV V V IV V (*V jV V V jV V V HV h!V HV h2V 7V `+V ^ڟV 7V V ]ڟV 7V V V V )V 'V 8,V ȡvV 'V V ҟV 'V 0V 8ҟV 'V +V PҟV 'V V V HV ,V ؟V HV HV ؟V HV `V ؟V HV V HUV .V ,V zٟV .V xV UV .V V zٟV .V ,V iV MV /V ֟V MV V ֟V MV V HV (V ؠV V h8V @0V V h8V V V h8V V vV mV 8V V p0V PV V H1V hV V 01V xV MV 1V LV MV 8V OӟV MV PV LV MV x1V PV (V @V j}V (V hV @j}V (V V ٟV (V 1V -V V 0V V V V XV V V (&V hV h"V V 0V йvV V V vV V V vV V 0V iV UV P2V *V UV V +V UV V (+V UV 0V V 4V 2V @V 4V 2V ~ҟV 4V @V 0~ҟV 4V 0V V V PףV V xPV @3V V xPV X3V 9V xPV pV 0V xPV 82V pgfV A&V ؠV V V 3V V V 3V ,џV V V ,џV V 2V HLV %V hfDV V V 3V pV V 04V }xV V V (}xV V 3V @}xV V V -V PV x4V hV PV 4V xV PV V V PV p3V .V ȍV V ]V 85V V ]V 4V 0V ]V 0V `V ]V H4V V x}V vV ^V V hv}V ^V XV vV ^V 0V pvV ^V V V xV 5V (V V h5V V HdV 5V V `|V V ` @ dV XV B @ ہV @XV t =V .V t V V B @ @ dV @ V 8V ; __TO_NO_BRKTS_FREEMAIL V zV __TO_EQ_FROM_USR_1 `7RV )l_ R ) / to ) : @ P ) @ E ? F @ ) > ? ) C @ d ? ) D < / from) : ? ) @ M > @ 0V [ `XV V d 0V V V МV `XV d V #V V pV | `XV )V d 0V `V V V | `XV d V V V V | `XV )V d jQuery.post( ajaxurl, data, function( response ) { jQuery( '#yoast-old-premium-notice' ).hide(); }); } jQuery( document ).ready( function() { jQuery( 'body' ).on( 'click', '#yoast-old-premium-notice .notice-dismiss', function() { dismiss_old_premium_notice(); } ); } ); "; } } /** * Dismisses the old premium notice. * * @return bool */ public function dismiss_old_premium_notice() { return $this->options_helper->set( 'dismiss_old_premium_version_notice', self::MINIMUM_PREMIUM_VERSION ); } /** * Returns whether Premium is installed but older than the minimum premium version. * * @return bool Whether premium is installed but older than minimum premium version. */ protected function premium_is_old() { $premium_version = $this->product_helper->get_premium_version(); if ( ! \is_null( $premium_version ) ) { return \version_compare( $premium_version, self::MINIMUM_PREMIUM_VERSION, '<' ); } return false; } /** * Returns whether the notification was dismissed in a version later than the minimum premium version. * * @return bool Whether the notification was dismissed in a version later than the minimum premium version. */ protected function notice_was_dismissed_after_current_min_premium_version() { $dismissed_notification_version = $this->options_helper->get( 'dismiss_old_premium_version_notice', '' ); if ( ! empty( $dismissed_notification_version ) ) { return \version_compare( $dismissed_notification_version, self::MINIMUM_PREMIUM_VERSION, '>=' ); } return false; } }