WordPress.org

Make WordPress Core

Ticket #23083: 23083.2.diff

File 23083.2.diff, 462 bytes (added by MikeHansenMe, 5 years ago)

uses balanceTags instead of force_balance_tags to make use optional

  • wp-includes/default-filters.php

     
    159159
    160160add_filter( 'wp_sprintf', 'wp_sprintf_l', 10, 2 );
    161161
     162add_filter( 'widget_text', 'balanceTags' );
     163
    162164// RSS filters
    163165add_filter( 'the_title_rss',      'strip_tags'      );
    164166add_filter( 'the_title_rss',      'ent2ncr',      8 );