equal
deleted
inserted
replaced
13 * @since 3.4.0 |
13 * @since 3.4.0 |
14 * |
14 * |
15 * @see WP_Customize_Media_Control |
15 * @see WP_Customize_Media_Control |
16 */ |
16 */ |
17 class WP_Customize_Upload_Control extends WP_Customize_Media_Control { |
17 class WP_Customize_Upload_Control extends WP_Customize_Media_Control { |
18 public $type = 'upload'; |
18 /** |
19 public $mime_type = ''; |
19 * Control type. |
|
20 * |
|
21 * @since 3.4.0 |
|
22 * @var string |
|
23 */ |
|
24 public $type = 'upload'; |
|
25 |
|
26 /** |
|
27 * Media control mime type. |
|
28 * |
|
29 * @since 4.1.0 |
|
30 * @var string |
|
31 */ |
|
32 public $mime_type = ''; |
|
33 |
|
34 /** |
|
35 * Button labels. |
|
36 * |
|
37 * @since 4.1.0 |
|
38 * @var array |
|
39 */ |
20 public $button_labels = array(); |
40 public $button_labels = array(); |
21 public $removed = ''; // Unused. |
41 |
|
42 public $removed = ''; // Unused. |
22 public $context; // Unused. |
43 public $context; // Unused. |
23 public $extensions = array(); // Unused. |
44 public $extensions = array(); // Unused. |
24 |
45 |
25 /** |
46 /** |
26 * Refresh the parameters passed to the JavaScript via JSON. |
47 * Refresh the parameters passed to the JavaScript via JSON. |