Make WordPress Core

Ticket #44411: 44411.class-wp-customize-upload-control.diff

File 44411.class-wp-customize-upload-control.diff, 921 bytes (added by subrataemfluence, 6 years ago)

Proposed patch for class-wp-customize-upload-control.php

  • class-wp-customize-upload-control.php

    diff --git src/wp-includes/customize/class-wp-customize-upload-control.php b/class-wp-customize-upload-control.php
    index 46e2b98..f9cb437 100755
    old new  
    1515 * @see WP_Customize_Media_Control
    1616 */
    1717class WP_Customize_Upload_Control extends WP_Customize_Media_Control {
    18         public $type          = 'upload';
    19         public $mime_type     = '';
     18        /**
     19         * Control type.
     20         *
     21         * @since 4.2.0
     22         * @var string
     23         */
     24        public $type = 'upload';
     25
     26        /**
     27         * Media control mime type.
     28         *
     29         * @since 4.2.0
     30         * @var string
     31         */
     32        public $mime_type = '';
     33
     34        /**
     35         * Button labels.
     36         *
     37         * @since 4.2.0
     38         * @var array
     39         */
    2040        public $button_labels = array();
    21         public $removed       = ''; // unused
     41
     42        public $removed = ''; // unused
    2243        public $context; // unused
    2344        public $extensions = array(); // unused
    2445