| @@ -130,20 +130,8 @@ | ||
| 130 | 130 | return $this->admin_features; |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | /** |
| 134 | - * Register assets needed on admin pages. | |
| 135 | - * | |
| 136 | - * @deprecated 25.5 | |
| 137 | - * @codeCoverageIgnore | |
| 138 | - * | |
| 139 | - * @return void | |
| 140 | - */ | |
| 141 | - public function enqueue_assets() { | |
| 142 | - _deprecated_function( __METHOD__, 'Yoast SEO 25.5' ); | |
| 143 | - } | |
| 144 | - | |
| 145 | - /** | |
| 146 | 134 | * Returns the manage_options capability. |
| 147 | 135 | * |
| 148 | 136 | * @return string The capability to use. |
| 149 | 137 | */ |
| @@ -287,37 +275,8 @@ | ||
| 287 | 275 | */ |
| 288 | 276 | public function enqueue_global_style() { |
| 289 | 277 | $asset_manager = new WPSEO_Admin_Asset_Manager(); |
| 290 | 278 | $asset_manager->enqueue_style( 'admin-global' ); |
| 291 | - } | |
| 292 | - | |
| 293 | - /** | |
| 294 | - * Filter the $contactmethods array and add a set of social profiles. | |
| 295 | - * | |
| 296 | - * These are used with the Facebook author, rel="author" and Twitter cards implementation. | |
| 297 | - * | |
| 298 | - * @deprecated 22.6 | |
| 299 | - * @codeCoverageIgnore | |
| 300 | - * | |
| 301 | - * @param array<string, string> $contactmethods Currently set contactmethods. | |
| 302 | - * | |
| 303 | - * @return array<string, string> Contactmethods with added contactmethods. | |
| 304 | - */ | |
| 305 | - public function update_contactmethods( $contactmethods ) { | |
| 306 | - _deprecated_function( __METHOD__, 'Yoast SEO 22.6' ); | |
| 307 | - | |
| 308 | - $contactmethods['facebook'] = __( 'Facebook profile URL', 'wordpress-seo' ); | |
| 309 | - $contactmethods['instagram'] = __( 'Instagram profile URL', 'wordpress-seo' ); | |
| 310 | - $contactmethods['linkedin'] = __( 'LinkedIn profile URL', 'wordpress-seo' ); | |
| 311 | - $contactmethods['myspace'] = __( 'MySpace profile URL', 'wordpress-seo' ); | |
| 312 | - $contactmethods['pinterest'] = __( 'Pinterest profile URL', 'wordpress-seo' ); | |
| 313 | - $contactmethods['soundcloud'] = __( 'SoundCloud profile URL', 'wordpress-seo' ); | |
| 314 | - $contactmethods['tumblr'] = __( 'Tumblr profile URL', 'wordpress-seo' ); | |
| 315 | - $contactmethods['twitter'] = __( 'X username (without @)', 'wordpress-seo' ); | |
| 316 | - $contactmethods['youtube'] = __( 'YouTube profile URL', 'wordpress-seo' ); | |
| 317 | - $contactmethods['wikipedia'] = __( 'Wikipedia page about you', 'wordpress-seo' ) . '<br/><small>' . __( '(if one exists)', 'wordpress-seo' ) . '</small>'; | |
| 318 | - | |
| 319 | - return $contactmethods; | |
| 320 | 279 | } |
| 321 | 280 | |
| 322 | 281 | /** |
| 323 | 282 | * Log the updated timestamp for user profiles when theme is changed. |