Docs: Add missing descriptions for WP_Customize_Header_Image_Control methods.

Follow-up to [20545], [21037], [21354], [21383], [27497].

Props pmbaldha, nikitasolanki1812, sabernhardt, SergeyBiryukov.
Fixes #63660.
Built from https://develop.svn.wordpress.org/trunk@61271


git-svn-id: http://core.svn.wordpress.org/trunk@60583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2025-11-19 17:26:28 +00:00
parent a49aba3014
commit 7413166cfe
2 changed files with 18 additions and 1 deletions

View File

@@ -65,6 +65,9 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
}
/**
* Enqueues control related scripts/styles.
*
* @since 3.9.0
*/
public function enqueue() {
wp_enqueue_media();
@@ -96,6 +99,10 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
}
/**
* Prepares the control.
*
* @since 3.9.0
*
* @global Custom_Image_Header $custom_image_header
*/
public function prepare_control() {
@@ -113,6 +120,9 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
}
/**
* Prints header image template.
*
* @since 3.9.0
*/
public function print_header_image_template() {
?>
@@ -179,6 +189,10 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
}
/**
* Gets current image source.
*
* @since 3.9.0
*
* @return string|void
*/
public function get_current_image_src() {
@@ -190,6 +204,9 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
}
/**
* Renders the control's content.
*
* @since 3.9.0
*/
public function render_content() {
$visibility = $this->get_current_image_src() ? '' : ' style="display:none" ';

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.0-alpha-61270';
$wp_version = '7.0-alpha-61271';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.