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/third-party/wincher-publish.php +13 -0 trunk → 28.6 View file →
@@ -101,8 +101,21 @@
101 101 ];
102 102 }
103 103
104 104 /**
105 + * Determines whether the current request is a REST request.
106 + *
107 + * @deprecated 23.6
108 + * @codeCoverageIgnore
109 + *
110 + * @return bool Whether the request is a REST request.
111 + */
112 + public function is_rest_request() {
113 + \_deprecated_function( __METHOD__, 'Yoast SEO 23.6', 'wp_is_serving_rest_request' );
114 + return \defined( 'REST_REQUEST' ) && \REST_REQUEST;
115 + }
116 +
117 + /**
105 118 * Sends the keyphrases associated with the post to Wincher for automatic tracking.
106 119 *
107 120 * @param WP_Post $post The post to extract the keyphrases from.
108 121 *