Make WordPress Core

Changeset 18592


Ignore:
Timestamp:
08/24/2011 10:54:48 AM (13 years ago)
Author:
westi
Message:

Parse shortcodes in text widgets by default. Fixes #10457 props tmoorewp, sillybean, jamescollins.

File:
1 edited

Legend:

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

    r18498 r18592  
    195195add_filter( 'editable_slug',        'urldecode'                           );
    196196add_filter( 'nav_menu_meta_box_object', '_wp_nav_menu_meta_box_object'    );
     197add_filter( 'widget_text',          'shortcode_unautop'                   );
     198add_filter( 'widget_text',          'do_shortcode'                        );
    197199
    198200// Actions
Note: See TracChangeset for help on using the changeset viewer.