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:
parent
070a9e5c59
commit
ad5a3736e6
|
@ -1583,7 +1583,7 @@ function _remove_theme_support( $feature ) {
|
||||||
unset( $GLOBALS['custom_image_header'] );
|
unset( $GLOBALS['custom_image_header'] );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'custom-header' :
|
case 'custom-background' :
|
||||||
$support = get_theme_support( 'custom-background' );
|
$support = get_theme_support( 'custom-background' );
|
||||||
remove_action( 'wp_head', $support[0]['callback'] );
|
remove_action( 'wp_head', $support[0]['callback'] );
|
||||||
remove_action( 'admin_menu', array( $GLOBALS['custom_background'], 'init' ) );
|
remove_action( 'admin_menu', array( $GLOBALS['custom_background'], 'init' ) );
|
||||||
|
|
Loading…
Reference in New Issue