[wp-trac] [WordPress Trac] #16642: Function "remove_filter" does not seem to work right

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 24 15:55:17 UTC 2011


#16642: Function "remove_filter" does not seem to work right
-------------------------------+------------------------------
 Reporter:  1manfactory        |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Formatting         |     Version:  3.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by sivel):

 * keywords:   => reporter-feedback


Comment:

 I am slightly confused as to why there would be filtering on
 sanitize_title using sanitize_title.  I cannot see any place where this is
 used in the WP code base.

 Perhaps you are really wanting to use:

 {{{
 remove_filter( 'sanitize_title', 'sanitize_title_with_dashes' );
 }}}

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


More information about the wp-trac mailing list