mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 07:22:01 +01:00
Fix copy-paste issue. see #20249.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6593186cb7
commit
3c2a88d91e
@ -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' ) );
|
||||
|
Loading…
Reference in New Issue
Block a user