-
Notifications
You must be signed in to change notification settings - Fork 879
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21360 from Yoast/deprecate-wpseo-customizer
Removes the Yoast SEO Breadcrumbs panel from the Customizer
- Loading branch information
Showing
5 changed files
with
80 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?php | ||
/** | ||
* WPSEO plugin file. | ||
* | ||
* @package WPSEO\Admin\Customizer | ||
*/ | ||
|
||
/** | ||
* Class with functionality to support WP SEO settings in WordPress Customizer. | ||
* | ||
* @codeCoverageIgnore | ||
* @deprecated 22.8 | ||
*/ | ||
class WPSEO_Customizer { | ||
|
||
/** | ||
* Holds the customize manager. | ||
* | ||
* @deprecated 22.8 | ||
* | ||
* @var WP_Customize_Manager | ||
*/ | ||
protected $wp_customize; | ||
|
||
/** | ||
* Construct Method. | ||
* | ||
* @codeCoverageIgnore | ||
* @deprecated 22.8 | ||
*/ | ||
public function __construct() { | ||
_deprecated_function( __METHOD__, 'Yoast SEO 22.8' ); | ||
} | ||
|
||
/** | ||
* Function to support WordPress Customizer. | ||
* | ||
* @param WP_Customize_Manager $wp_customize Manager class instance. | ||
* | ||
* @codeCoverageIgnore | ||
* @deprecated 22.8 | ||
* | ||
* @return void | ||
*/ | ||
public function wpseo_customize_register( $wp_customize ) { | ||
_deprecated_function( __METHOD__, 'Yoast SEO 22.8' ); | ||
} | ||
|
||
/** | ||
* Returns whether or not the breadcrumbs are active. | ||
* | ||
* @codeCoverageIgnore | ||
* @deprecated 22.8 | ||
* | ||
* @return void | ||
*/ | ||
public function breadcrumbs_active_callback() { | ||
_deprecated_function( __METHOD__, 'Yoast SEO 22.8' ); | ||
} | ||
|
||
/** | ||
* Returns whether or not to show the breadcrumbs blog show option. | ||
* | ||
* @codeCoverageIgnore | ||
* @deprecated 22.8 | ||
* | ||
* @return void | ||
*/ | ||
public function breadcrumbs_blog_show_active_cb() { | ||
_deprecated_function( __METHOD__, 'Yoast SEO 22.8' ); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters