WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/14/2017 07:40:23 AM (10 months ago)
Author:
westonruter
Message:

Widgets: Add Custom HTML widget.

Ports [40893], [40926], [41000] to the 4.8 branch.
Props westonruter, timmydcrawford, obenland.
Fixes #40907 for 4.8.

Location:
branches/4.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.8

  • branches/4.8/src/wp-includes/class-wp-customize-widgets.php

    r40395 r41044  
    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.