123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- <?php
- /**
- * WPSEO plugin file.
- *
- * @package WPSEO\Admin\Google_Search_Console
- */
- /**
- * Class WPSEO_GSC_Ajax.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- */
- class WPSEO_GSC_Ajax {
- /**
- * Setting the AJAX hooks for GSC.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- */
- public function __construct() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- }
- /**
- * This method will be access by an AJAX request and will mark an issue as fixed.
- *
- * First it will do a request to the Google API.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- */
- public function ajax_mark_as_fixed() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- }
- /**
- * Handle the AJAX request and dismiss the GSC notice.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- */
- public function dismiss_notice() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- }
- /**
- * Saves the authorization code.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- */
- public function save_auth_code() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- }
- /**
- * Clears all authorization data.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- */
- public function clear_auth_code() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- }
- /**
- * Check if posted nonce is valid and return true if it is.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- *
- * @return mixed
- */
- private function valid_nonce() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- }
- /**
- * Returns an instance of the Google Search Console service.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- *
- * @return WPSEO_GSC_Service
- */
- private function get_service() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- return null;
- }
- /**
- * Prints a JSON encoded string with the current profile config.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- */
- private function get_profiles() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- }
- }
|