1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
<?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' ); } }
|