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:
parent
8f741e4f24
commit
570cf18255
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user