[wp-trac] [WordPress Trac] #38645: Improve roles reinit when switching between sites

WordPress Trac noreply at wordpress.org
Sun Dec 4 17:32:38 UTC 2016


#38645: Improve roles reinit when switching between sites
-----------------------------+------------------------
 Reporter:  johnjamesjacoby  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.8
Component:  Role/Capability  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  multisite
-----------------------------+------------------------
Changes (by flixos90):

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


Comment:

 [attachment:38645.3.diff] is the same as [attachment:38645.2.diff] except
 that the `did_action( 'init' )` check is included in `switch_wp_roles()`.
 It is currently being checked, so it should probably remain there.

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


More information about the wp-trac mailing list