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

WordPress Trac noreply at wordpress.org
Sat Feb 25 14:24:15 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:                      |     Focuses:  multisite
--------------------------------+------------------------------

Comment (by sanchothefat):

 @flixos90 look at the list_users capability in particular. It's mentioned
 in schema.php and added only when installing or creating a site. There's
 no mention of it in capabilities.php so is never added dynamically from
 anywhere other than the database.

 The list_users cap is used on a bunch of current_user_can() checks in the
 admin menu for example.

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


More information about the wp-trac mailing list