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
This commit is contained in:
ryan 2012-03-22 19:31:03 +00:00
parent d848d30692
commit b2d6004f17
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 );
}
/**