From 570cf182553796f609d3be9bce37df4090ba2de7 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@20265 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 48d6adf5c7..0523ffbe4a 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 ); } /**