[wp-trac] [WordPress Trac] #21068: deprecate balanceTags

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 25 12:22:59 UTC 2012


#21068: deprecate balanceTags
--------------------------+------------------------------
 Reporter:  c3mdigital    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by nacin):

 wp-includes/default-filters.php:
 {{{
 // Places to balance tags on input
 foreach ( array( 'content_save_pre', 'excerpt_save_pre',
 'comment_save_pre', 'pre_comment_content' ) as $filter ) {
         add_filter( $filter, 'balanceTags', 50 );
 }
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21068#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list