PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 28.6
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v28.6
28.6 28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 All 130 releases
← All changes | src/integrations/watchers/option-wpseo-watcher.php +20 -0 trunk → 28.6 View file →
@@ -63,8 +63,28 @@
63 63 return $disabled;
64 64 }
65 65
66 66 /**
67 + * Checks if the WordProof integration is disabled; if so, deletes the tokens
68 + *
69 + * We delete them if the WordProof integration is disabled, no matter if the
70 + * value has actually changed or not.
71 + *
72 + * @deprecated 22.10
73 + * @codeCoverageIgnore
74 + *
75 + * @param array $old_value The old value of the option.
76 + * @param array $new_value The new value of the option.
77 + *
78 + * @return bool Whether the WordProof tokens have been deleted or not.
79 + */
80 + public function check_wordproof_option_disabled( $old_value, $new_value ) {
81 + \_deprecated_function( __METHOD__, 'Yoast SEO 22.10' );
82 +
83 + return true;
84 + }
85 +
86 + /**
67 87 * Checks if the usage tracking feature is toggled; if so, set an option to stop us from messing with it.
68 88 *
69 89 * @param array $old_value The old value of the option.
70 90 * @param array $new_value The new value of the option.