| @@ -101,21 +101,8 @@ | ||
| 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 | - /** | |
| 118 | 105 | * Sends the keyphrases associated with the post to Wincher for automatic tracking. |
| 119 | 106 | * |
| 120 | 107 | * @param WP_Post $post The post to extract the keyphrases from. |
| 121 | 108 | * |