[wp-trac] [WordPress Trac] #37381: 'users_can_register' option not updated

WordPress Trac noreply at wordpress.org
Sat Jul 16 10:42:47 UTC 2016


#37381: 'users_can_register' option not updated
------------------------------------+------------------------
 Reporter:  tazotodua               |       Owner:
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:  invalid
 Keywords:                          |     Focuses:  multisite
------------------------------------+------------------------
Changes (by ocean90):

 * status:  new => closed
 * resolution:   => invalid
 * focuses:   => multisite
 * component:  General => Login and Registration
 * milestone:  Awaiting Review =>


Comment:

 Hello @tazotodua, thanks for your report.

 There is no network option for `users_can_register`, the option exists
 only per site (`get_option( 'users_can_register' )`).
 In a multisite install this option inherits the value of the
 `registration` network option, see
 [https://developer.wordpress.org/reference/functions/users_can_register_signup_filter/
 users_can_register_signup_filter()]. You can change the value of this
 option in the Registration Settings on wp-admin/network/settings.php.

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


More information about the wp-trac mailing list