[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:32:55 UTC 2016


#39209: replace 1 check with current_user_can( 'manage_network' ) in wp-signup.php
-----------------------------+-----------------------------
 Reporter:  jignesh.nakrani  |      Owner:
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Role/Capability  |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 replace 1 check with current_user_can( 'manage_network' ) in wp-
 signup.php;

 in addition, change the message string to Greetings Network Administrator!
 The network currently allows “%s” registrations. To change or
 disable registration go to your <a href="%s">Options page</a>. and the
 $i18n['blog'] string to site to match current naming conventions

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


More information about the wp-trac mailing list