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:
nacin 2012-03-19 17:15:30 +00:00
parent 6593186cb7
commit 3c2a88d91e
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'] );
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' ) );