[wp-trac] Re: [WordPress Trac] #3498: Deactivate All on plugins admin page

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 31 07:20:23 GMT 2007

#3498: Deactivate All on plugins admin page
 Reporter:  shorty114                |        Owner:     
     Type:  enhancement              |       Status:  new
 Priority:  low                      |    Milestone:  2.2
Component:  Administration           |      Version:  2.1
 Severity:  minor                    |   Resolution:     
 Keywords:  has-patch needs-testing  |  
Changes (by markjaquith):

  * version:  => 2.1



 Good first effort!  Only thing I see that definitely needs to change is
 the calling of {{{wp_nonce_url()}}}  It won't work the way you have it.
 Instead of manually coding the action=deactivate-all part into the query
 string, try passing 'deactivate-all' as a second parameter.

 {{{wp_nonce_url('plugins.php', 'deactivate-all')}}}

 That'll take care of adding the action part to the URL as well as
 integrating the action name into the nonce itself (making it specific to
 the action, in addition to the other things that go into the mix like user
 and time).

Ticket URL: <http://trac.wordpress.org/ticket/3498#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list