[wp-trac] [WordPress Trac] #12381: Switch away from constants to filters for {en|dis}abling and configuring features

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 27 14:55:00 UTC 2010


#12381: Switch away from constants to filters for {en|dis}abling and configuring
features
--------------------------+-------------------------------------------------
 Reporter:  westi         |       Owner:  westi
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  3.0  
Component:  General       |     Version:  3.0  
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------

Comment(by nacin):

 Westi didn't add a {{{__return_true()}}} function. Also, note the name of
 the filter. In this case, you can simply remove the default MS filter with
 remove_filter().

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


More information about the wp-trac mailing list