Make WordPress Core

Ticket #10457: 10457-2.diff

File 10457-2.diff, 827 bytes (added by sillybean, 15 years ago)

patched against r13006; adds shortcode_unautop

  • Users/steph/Documents/code/WordPressSVN/trunk/wp-includes/default-filters.php

     
    163163add_filter( 'comments_open',        '_close_comments_for_old_post', 10, 2 );
    164164add_filter( 'pings_open',           '_close_comments_for_old_post', 10, 2 );
    165165add_filter( 'editable_slug',        'urldecode'                           );
     166add_filter( 'widget_text',                      'shortcode_unautop'                               );
     167add_filter( 'widget_text',          'do_shortcode'                        );
    166168
    167169// Atom SSL support
    168170add_filter( 'atom_service_url','atom_service_url_filter' );