Docs: Improve documentation for `Custom_Image_Header` and `Custom_Background` constructors.
Follow-up to [4673], [8656], [12890], [13041]. Props faisalahammad, cadic. Fixes #58049. Built from https://develop.svn.wordpress.org/trunk@57169 git-svn-id: http://core.svn.wordpress.org/trunk@56680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
46406afcc4
commit
f402ce754d
|
@ -42,8 +42,11 @@ class Custom_Background {
|
|||
* Constructor - Registers administration header callback.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @param callable $admin_header_callback
|
||||
* @param callable $admin_image_div_callback Optional custom image div output callback.
|
||||
*
|
||||
* @param callable $admin_header_callback Optional. Administration header callback.
|
||||
* Default empty string.
|
||||
* @param callable $admin_image_div_callback Optional. Custom image div output callback.
|
||||
* Default empty string.
|
||||
*/
|
||||
public function __construct( $admin_header_callback = '', $admin_image_div_callback = '' ) {
|
||||
$this->admin_header_callback = $admin_header_callback;
|
||||
|
|
|
@ -47,11 +47,13 @@ class Custom_Image_Header {
|
|||
private $updated;
|
||||
|
||||
/**
|
||||
* Constructor - Register administration header callback.
|
||||
* Constructor - Registers administration header callback.
|
||||
*
|
||||
* @since 2.1.0
|
||||
* @param callable $admin_header_callback
|
||||
* @param callable $admin_image_div_callback Optional custom image div output callback.
|
||||
*
|
||||
* @param callable $admin_header_callback Administration header callback.
|
||||
* @param callable $admin_image_div_callback Optional. Custom image div output callback.
|
||||
* Default empty string.
|
||||
*/
|
||||
public function __construct( $admin_header_callback, $admin_image_div_callback = '' ) {
|
||||
$this->admin_header_callback = $admin_header_callback;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.5-alpha-57163';
|
||||
$wp_version = '6.5-alpha-57169';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue