[wp-trac] [WordPress Trac] #39205: Replace is_super_admin() check with current_user_can( 'upgrade_database' )

WordPress Trac noreply at wordpress.org
Mon Apr 3 20:50:36 UTC 2017


#39205: Replace is_super_admin() check with current_user_can( 'upgrade_database' )
-------------------------------------------------+-------------------------
 Reporter:  dhanendran                           |       Owner:  flixos90
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.8
Component:  Role/Capability                      |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-dev-note has-unit-   |     Focuses:  multisite
  tests 2nd-opinion                              |
-------------------------------------------------+-------------------------

Comment (by johnjamesjacoby):

 Checking `upgrade_network` and passing in the network ID is an interesting
 idea. I like it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39205#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list