From b2d6004f17f057f7a0c4c2689e82453e2a49a25c Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 22 Mar 2012 19:31:03 +0000 Subject: [PATCH] s/background/header/ in add_custom_image_header() deprecated function. see #20249 git-svn-id: http://svn.automattic.com/wordpress/trunk@20265 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/deprecated.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 48d6adf5c..0523ffbe4 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -3003,7 +3003,7 @@ function add_custom_image_header( $wp_head_callback = '', $admin_head_callback = $args['admin-head-callback'] = $admin_head_callback; if ( $admin_preview_callback ) $args['admin-preview-callback'] = $admin_preview_callback; - return add_theme_support( 'custom-background', $args ); + return add_theme_support( 'custom-header', $args ); } /**