WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/23/2017 11:59:23 PM (4 years ago)
Author:
westonruter
Message:

Widgets: Rename "HTML Code" widget to "Custom HTML" widget.

Correspondingly renames files, ID base from html_code to custom_html, and the filter from widget_html_code_content to widget_custom_html_content.

See #40907.

File:
1 edited

Legend:

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

    r40893 r40926  
    171171add_filter( 'widget_text_content', 'wpautop'              );
    172172
    173 add_filter( 'widget_html_code_content', 'balanceTags' );
     173add_filter( 'widget_custom_html_content', 'balanceTags' );
    174174
    175175add_filter( 'date_i18n', 'wp_maybe_decline_date' );
Note: See TracChangeset for help on using the changeset viewer.