From 3c2a88d91ef11b4d9763408a68e3cbc02c9f5348 Mon Sep 17 00:00:00 2001 From: nacin Date: Mon, 19 Mar 2012 17:15:30 +0000 Subject: [PATCH] Fix copy-paste issue. see #20249. git-svn-id: http://svn.automattic.com/wordpress/trunk@20213 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index bd5222c8e..9d5ed95aa 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -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' ) );