HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.34
System: Linux atalantini.com 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64
User: root (0)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: //opt/wordpress-seo/src/deprecated/admin/google-search-console/class-gsc-ajax.php
<?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' );
	}
}