[wp-trac] [WordPress Trac] #39209: replace 1 check with current_user_can( 'manage_network' ) in wp-signup.php

WordPress Trac noreply at wordpress.org
Fri Dec 9 15:57:28 UTC 2016


#39209: replace 1 check with current_user_can( 'manage_network' ) in wp-signup.php
-------------------------------------+------------------------
 Reporter:  jignesh.nakrani          |       Owner:  flixos90
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.8
Component:  Role/Capability          |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  multisite
-------------------------------------+------------------------
Changes (by flixos90):

 * keywords:  has-patch => has-patch needs-refresh
 * owner:   => flixos90
 * focuses:   => multisite
 * status:  new => assigned
 * milestone:  Awaiting Review => 4.8


Comment:

 Thanks for the patch @jignesh.nakrani! Can you update the capability used
 there? In the patch you currently have `manage_options`, but it should be
 `manage_network`. The rest of it looks good. :)

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


More information about the wp-trac mailing list