diff --git src/wp-includes/class-wp-customize-widgets.php src/wp-includes/class-wp-customize-widgets.php
index a180a93008..edfd3df81d 100644
|
|
final class WP_Customize_Widgets { |
35 | 35 | * @var array |
36 | 36 | */ |
37 | 37 | protected $core_widget_id_bases = array( |
38 | | 'archives', 'calendar', 'categories', 'links', 'meta', |
39 | | 'nav_menu', 'pages', 'recent-comments', 'recent-posts', |
40 | | 'rss', 'search', 'tag_cloud', 'text', |
| 38 | 'archives', |
| 39 | 'calendar', |
| 40 | 'categories', |
| 41 | 'custom_html', |
| 42 | 'links', |
| 43 | 'media_audio', |
| 44 | 'media_image', |
| 45 | 'media_video', |
| 46 | 'meta', |
| 47 | 'nav_menu', |
| 48 | 'pages', |
| 49 | 'recent-comments', |
| 50 | 'recent-posts', |
| 51 | 'rss', |
| 52 | 'search', |
| 53 | 'tag_cloud', |
| 54 | 'text', |
41 | 55 | ); |
42 | 56 | |
43 | 57 | /** |
diff --git src/wp-includes/widgets/class-wp-widget-custom-html.php src/wp-includes/widgets/class-wp-widget-custom-html.php
index f6d28fd625..2db50f4d22 100644
|
|
class WP_Widget_Custom_HTML extends WP_Widget { |
38 | 38 | 'description' => __( 'Arbitrary HTML code.' ), |
39 | 39 | 'customize_selective_refresh' => true, |
40 | 40 | ); |
41 | | $control_ops = array(); |
| 41 | $control_ops = array( |
| 42 | 'width' => 400, |
| 43 | 'height' => 350, |
| 44 | ); |
42 | 45 | parent::__construct( 'custom_html', __( 'Custom HTML' ), $widget_ops, $control_ops ); |
43 | 46 | } |
44 | 47 | |