[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
Sun Feb 28 07:55:51 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 dd32):

 > I try

 Try:
 {{{
 remove_filter( 'enable_update_services_configuration', '__return_false' );
 }}}

 or set the priotity higher than the default hooks.
 {{{
 add_filter('enable_configuration_of_update_services', '__return_true',
 100);
 }}}

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


More information about the wp-trac mailing list