WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/09/17 23:53:27 (6 months 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/default-filters.php

    r40776 r40893  
    170170add_filter( 'widget_text_content', 'convert_smilies',  20 ); 
    171171add_filter( 'widget_text_content', 'wpautop'              ); 
     172 
     173add_filter( 'widget_html_code_content', 'balanceTags' ); 
    172174 
    173175add_filter( 'date_i18n', 'wp_maybe_decline_date' ); 
Note: See TracChangeset for help on using the changeset viewer.