123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- <?php
- /**
- * WPSEO plugin file.
- *
- * @package WPSEO\admin\google_search_console
- */
- /**
- * Class WPSEO_GSC.
- */
- class WPSEO_GSC implements WPSEO_WordPress_Integration {
- /**
- * The option where data will be stored.
- *
- * @var string
- */
- const OPTION_WPSEO_GSC = 'wpseo-gsc';
- /**
- * Outputs the HTML for the redirect page.
- *
- * @return void
- */
- public function display() {
- require_once WPSEO_PATH . 'admin/google_search_console/views/gsc-display.php';
- }
- /**
- * Registers the hooks.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- *
- * @return void
- */
- public function register_hooks() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- }
- /**
- * Handles the dashboard notification.
- *
- * If the Google Search Console has no credentials, show a notification
- * for the user to give them a heads up. This message is dismissable.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- *
- * @return void
- */
- public function register_gsc_notification() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- }
- /**
- * Makes sure the settings will be registered, so data can be stored.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- *
- * @return void
- */
- public function register_settings() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- }
- /**
- * Displays the table.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- *
- * @return void
- */
- public function display_table() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- }
- /**
- * Loads the admin redirects scripts.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- *
- * @return void
- */
- public function page_scripts() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- }
- /**
- * Sets the screen options.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- *
- * @param string $status Status string.
- * @param string $option Option key.
- * @param string $value Value to return.
- *
- * @return mixed The screen option value. False when not errors_per_page.
- */
- public function set_screen_option( $status, $option, $value ) {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- return false;
- }
- /**
- * Sets the tab help on top of the screen.
- *
- * @deprecated 12.5
- *
- * @codeCoverageIgnore
- *
- * @return void
- */
- public function set_help() {
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
- }
- /**
- * Run init logic.
- *
- * @codeCoverageIgnore
- *
- * @deprecated 9.5
- *
- * @return void
- */
- public function init() {
- _deprecated_function( __METHOD__, 'WPSEO 9.5' );
- }
- }
|