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

WordPress Trac noreply at wordpress.org
Sat Apr 8 12:16:29 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 commit                                   |
-------------------------------------------------+-------------------------
Changes (by johnbillion):

 * keywords:  has-patch needs-dev-note has-unit-tests => has-patch needs-
     dev-note has-unit-tests commit


Comment:

 I reviewed and tested this yesterday and it all looks good.

 At WordCamp Torino we briefly discussed the idea of naming the cap
 `update_network` but soon started down a rabbit hole. `upgrade_network` is
 good.

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


More information about the wp-trac mailing list