PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 28.6
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v28.6
28.6 28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 All 130 releases
← All changes | admin/class-admin.php +41 -0 trunk → 28.6 View file →
@@ -130,8 +130,20 @@
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 + /**
134 146 * Returns the manage_options capability.
135 147 *
136 148 * @return string The capability to use.
137 149 */
@@ -275,8 +287,37 @@
275 287 */
276 288 public function enqueue_global_style() {
277 289 $asset_manager = new WPSEO_Admin_Asset_Manager();
278 290 $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;
279 320 }
280 321
281 322 /**
282 323 * Log the updated timestamp for user profiles when theme is changed.