mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Docs: Correct the expected parameter type for WP_Customize_Manager::remove_preview_signature().
Before the method was deprecated, the parameter contained the value passed through for the `wp_die_handler` filter, which expects a callable function. Follow-up to [20926], [32535], [34320], [38810], [53242], [53243]. See #54729. git-svn-id: https://develop.svn.wordpress.org/trunk@53244 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2235,8 +2235,9 @@ final class WP_Customize_Manager {
|
||||
* @since 3.4.0
|
||||
* @deprecated 4.7.0
|
||||
*
|
||||
* @param mixed $callback Value passed through for {@see 'wp_die_handler'} filter.
|
||||
* @return mixed Value passed through for {@see 'wp_die_handler'} filter.
|
||||
* @param callable|null $callback Optional. Value passed through for {@see 'wp_die_handler'} filter.
|
||||
* Default null.
|
||||
* @return callable|null Value passed through for {@see 'wp_die_handler'} filter.
|
||||
*/
|
||||
public function remove_preview_signature( $callback = null ) {
|
||||
_deprecated_function( __METHOD__, '4.7.0' );
|
||||
|
||||
Reference in New Issue
Block a user