[wp-trac] [WordPress Trac] #11717: Access to automatic database repair/optimize with admin rights

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 5 11:11:20 UTC 2010


#11717: Access to automatic database repair/optimize with admin rights
-------------------------+--------------------------------------------------
 Reporter:  neoxx        |       Owner:  ryan                 
     Type:  enhancement  |      Status:  new                  
 Priority:  normal       |   Milestone:  3.0                  
Component:  Database     |     Version:  2.9.1                
 Severity:  normal       |    Keywords:  repair, db, has-patch
-------------------------+--------------------------------------------------

Comment(by neoxx):

 @dd32: Thanks for your hint! - You're right: {{{ current_user_can() }}}
 calls {{{ wp_get_current_user() }}} which calls {{{ get_currentuserinfo();
 }}} - I've updated the patch.

 In addition a capability like '''repair_tables''' would round this patch
 up. And maybe we should think about the extension towards a canonical
 plugin...

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


More information about the wp-trac mailing list