Make WordPress Core


Ignore:
Timestamp:
05/11/2017 06:54:24 PM (8 years ago)
Author:
westonruter
Message:

Widgets: Extend the Text widget with TinyMCE.

Introduces rich text formatting: bold, italic, lists, links.

Props westonruter, azaozz, timmydcrawford, obenland, melchoyce.
See #35760.
Fixes #35243.

File:
1 edited

Legend:

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

    r40608 r40631  
    165165add_filter( 'wp_sprintf', 'wp_sprintf_l', 10, 2 );
    166166
    167 add_filter( 'widget_text', 'balanceTags' );
     167add_filter( 'widget_text',         'balanceTags'          );
     168add_filter( 'widget_text_content', 'capital_P_dangit', 11 );
     169add_filter( 'widget_text_content', 'wptexturize'          );
     170add_filter( 'widget_text_content', 'convert_smilies',  20 );
     171add_filter( 'widget_text_content', 'wpautop'              );
    168172
    169173add_filter( 'date_i18n', 'wp_maybe_decline_date' );
Note: See TracChangeset for help on using the changeset viewer.