From 6d0b0d9a4b2110b086c388188ad9ea28e7ff2fdb Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 18 May 2022 15:24:14 +0000 Subject: [PATCH] Docs: Add missing documentation for some Customize class properties: * `WP_Customize_Background_Image_Control::$type` * `WP_Customize_Background_Image_Setting::$id` * `WP_Customize_Header_Image_Setting::$id` Follow-up to [21037], [21053], [30885]. Props iamjaydip. See #55646. Built from https://develop.svn.wordpress.org/trunk@53411 git-svn-id: http://core.svn.wordpress.org/trunk@53000 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../class-wp-customize-background-image-control.php | 7 +++++++ .../class-wp-customize-background-image-setting.php | 7 +++++++ .../customize/class-wp-customize-header-image-control.php | 1 + .../customize/class-wp-customize-header-image-setting.php | 7 +++++++ wp-includes/version.php | 2 +- 5 files changed, 23 insertions(+), 1 deletion(-) diff --git a/wp-includes/customize/class-wp-customize-background-image-control.php b/wp-includes/customize/class-wp-customize-background-image-control.php index b31a811f5f..e6b3ca6429 100644 --- a/wp-includes/customize/class-wp-customize-background-image-control.php +++ b/wp-includes/customize/class-wp-customize-background-image-control.php @@ -15,6 +15,13 @@ * @see WP_Customize_Image_Control */ class WP_Customize_Background_Image_Control extends WP_Customize_Image_Control { + + /** + * Customize control type. + * + * @since 4.1.0 + * @var string + */ public $type = 'background'; /** diff --git a/wp-includes/customize/class-wp-customize-background-image-setting.php b/wp-includes/customize/class-wp-customize-background-image-setting.php index b8b1a06a9d..f56810e6aa 100644 --- a/wp-includes/customize/class-wp-customize-background-image-setting.php +++ b/wp-includes/customize/class-wp-customize-background-image-setting.php @@ -15,6 +15,13 @@ * @see WP_Customize_Setting */ final class WP_Customize_Background_Image_Setting extends WP_Customize_Setting { + + /** + * Unique string identifier for the setting. + * + * @since 3.4.0 + * @var string + */ public $id = 'background_image_thumb'; /** 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 82c1714261..98bf8af6d0 100644 --- a/wp-includes/customize/class-wp-customize-header-image-control.php +++ b/wp-includes/customize/class-wp-customize-header-image-control.php @@ -15,6 +15,7 @@ * @see WP_Customize_Image_Control */ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control { + /** * Customize control type. * diff --git a/wp-includes/customize/class-wp-customize-header-image-setting.php b/wp-includes/customize/class-wp-customize-header-image-setting.php index 7bbc923a40..d3792e0d14 100644 --- a/wp-includes/customize/class-wp-customize-header-image-setting.php +++ b/wp-includes/customize/class-wp-customize-header-image-setting.php @@ -17,6 +17,13 @@ * @see WP_Customize_Setting */ final class WP_Customize_Header_Image_Setting extends WP_Customize_Setting { + + /** + * Unique string identifier for the setting. + * + * @since 3.4.0 + * @var string + */ public $id = 'header_image_data'; /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 42015e80eb..edf9c5f117 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53410'; +$wp_version = '6.1-alpha-53411'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.