Make WordPress Core


Ignore:
Timestamp:
07/04/2017 09:00:05 PM (7 years ago)
Author:
westonruter
Message:

Widgets: Let Custom HTML widget be "wide" as the Text widget is.

Also update WP_Customize_Widgets::$core_widget_id_bases with the new list of core widgets.

Props obenland, westonruter.
See #40907, #40951.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-widgets.php

    r40929 r41000  
    3636     */
    3737    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',
    4155    );
    4256
Note: See TracChangeset for help on using the changeset viewer.