[wp-trac] [WordPress Trac] #39944: Site wp_X_user_roles option not updated when network settings change

WordPress Trac noreply at wordpress.org
Tue Feb 28 12:55:46 UTC 2017


#39944: Site wp_X_user_roles option not updated when network settings change
--------------------------------+------------------------------
 Reporter:  sanchothefat        |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:  4.5
 Severity:  normal              |  Resolution:
 Keywords:  has-unit-tests      |     Focuses:  multisite
--------------------------------+------------------------------
Changes (by sanchothefat):

 * keywords:   => has-unit-tests


Comment:

 The unit test I just added behaves oddly - eg. not what I saw in the data
 of an affected site, however it does highlight an error after changing the
 value of the `add_new_users` site option that the current admin user still
 has the `list_users` cap.

 It's not the final unit test for this but should serve as a starting point
 for exploring the expected behaviour here.

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


More information about the wp-trac mailing list