From 3af1bfdbfa4616f44823c26b81039faf75e8d116 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 22 Nov 2020 15:53:03 +0000 Subject: [PATCH] Docs: Add documentation for the `$type` and `$mime_type` properties in `WP_Customize_Image_Control`. Follow-up to [20319], [30309], [31698], [32023], [49679]. Props subrataemfluence. Fixes #44411. Built from https://develop.svn.wordpress.org/trunk@49680 git-svn-id: http://core.svn.wordpress.org/trunk@49403 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../class-wp-customize-image-control.php | 15 ++++++++++++++- wp-includes/version.php | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/wp-includes/customize/class-wp-customize-image-control.php b/wp-includes/customize/class-wp-customize-image-control.php index ef5bf271ff..03575d0800 100644 --- a/wp-includes/customize/class-wp-customize-image-control.php +++ b/wp-includes/customize/class-wp-customize-image-control.php @@ -15,7 +15,20 @@ * @see WP_Customize_Upload_Control */ class WP_Customize_Image_Control extends WP_Customize_Upload_Control { - public $type = 'image'; + /** + * Control type. + * + * @since 3.4.0 + * @var string + */ + public $type = 'image'; + + /** + * Media control mime type. + * + * @since 4.1.0 + * @var string + */ public $mime_type = 'image'; /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 2e9b5b49d1..3fcdfb6f1f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-alpha-49679'; +$wp_version = '5.7-alpha-49680'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.