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:
Andrew Nacin 2012-03-19 17:15:30 +00:00
parent 070a9e5c59
commit ad5a3736e6
1 changed files with 1 additions and 1 deletions

View File

@ -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' ) );