--- a/wp/wp-includes/customize/class-wp-customize-upload-control.php Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-includes/customize/class-wp-customize-upload-control.php Wed Sep 21 18:19:35 2022 +0200
@@ -15,10 +15,31 @@
* @see WP_Customize_Media_Control
*/
class WP_Customize_Upload_Control extends WP_Customize_Media_Control {
- public $type = 'upload';
- public $mime_type = '';
+ /**
+ * Control type.
+ *
+ * @since 3.4.0
+ * @var string
+ */
+ public $type = 'upload';
+
+ /**
+ * Media control mime type.
+ *
+ * @since 4.1.0
+ * @var string
+ */
+ public $mime_type = '';
+
+ /**
+ * Button labels.
+ *
+ * @since 4.1.0
+ * @var array
+ */
public $button_labels = array();
- public $removed = ''; // Unused.
+
+ public $removed = ''; // Unused.
public $context; // Unused.
public $extensions = array(); // Unused.