WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/09/2017 11:53:27 PM (3 years ago)
Author:
westonruter
Message:

Widgets: Add widget dedicated for HTML Code, taking over this role of the Text widget.

Props westonruter, timmydcrawford.
See #40951, #35243.
Fixes #40907.

File:
1 edited

Legend:

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

    r40806 r40893  
    14751475    register_widget( 'WP_Nav_Menu_Widget' );
    14761476
     1477    register_widget( 'WP_Widget_HTML_Code' );
     1478
    14771479    /**
    14781480     * Fires after all default WordPress widgets have been registered.
Note: See TracChangeset for help on using the changeset viewer.