From 7413166cfef4e45e24c3aa217da0dd8ae488a249 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 19 Nov 2025 17:26:28 +0000 Subject: [PATCH] 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 --- .../class-wp-customize-header-image-control.php | 17 +++++++++++++++++ wp-includes/version.php | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/wp-includes/customize/class-wp-customize-header-image-control.php b/wp-includes/customize/class-wp-customize-header-image-control.php index 644d40b4c0..db192ac83c 100644 --- a/wp-includes/customize/class-wp-customize-header-image-control.php +++ b/wp-includes/customize/class-wp-customize-header-image-control.php @@ -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" '; diff --git a/wp-includes/version.php b/wp-includes/version.php index 0a2035d21e..1c732aac81 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.