[wp-trac] Re: [WordPress Trac] #4201: Add option to turn off widgets

WordPress Trac wp-trac at lists.automattic.com
Tue May 1 17:03:27 GMT 2007


#4201: Add option to turn off widgets
----------------------------+-----------------------------------------------
 Reporter:  tinyau          |        Owner:  anonymous
     Type:  enhancement     |       Status:  new      
 Priority:  high            |    Milestone:  2.2      
Component:  Administration  |      Version:           
 Severity:  major           |   Resolution:           
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by schulte):

 Replying to [comment:2 filosofo]:
 > Better than hacking core code, you can turn off widgets by adding the
 following line to a plugin:
 >
 > {{{remove_action('plugins_loaded','wp_maybe_load_widgets',0);}}}

 Yeah, I realized just after commenting that using a remove_action would be
 the recommended way...suggestion had already been made over at
 http://code.google.com/p/kaytwo/issues/detail?id=284

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4201#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list