[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 19:52:56 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:  needs-patch      |     Focuses:  multisite
-----------------------------+------------------------
Changes (by johnbillion):

 * keywords:  has-patch needs-refresh => needs-patch


Old description:

> 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

New description:

 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#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list