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
This commit is contained in:
Ryan Boren 2012-03-22 19:31:03 +00:00
parent 8f741e4f24
commit 570cf18255
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}
/**