mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-25 01:18:42 +00:00
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:
parent
d848d30692
commit
b2d6004f17
@ -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…
x
Reference in New Issue
Block a user