mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Fix copy-paste issue. see #20249.
git-svn-id: https://develop.svn.wordpress.org/trunk@20213 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1583,7 +1583,7 @@ function _remove_theme_support( $feature ) {
|
||||
unset( $GLOBALS['custom_image_header'] );
|
||||
break;
|
||||
|
||||
case 'custom-header' :
|
||||
case 'custom-background' :
|
||||
$support = get_theme_support( 'custom-background' );
|
||||
remove_action( 'wp_head', $support[0]['callback'] );
|
||||
remove_action( 'admin_menu', array( $GLOBALS['custom_background'], 'init' ) );
|
||||
|
||||
Reference in New Issue
Block a user