[wp-trac] [WordPress Trac] #38645: Improve roles reinit when switching between sites
WordPress Trac
noreply at wordpress.org
Thu Aug 31 09:31:35 UTC 2017
#38645: Improve roles reinit when switching between sites
--------------------------------------+------------------------
Reporter: johnjamesjacoby | Owner: flixos90
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.9
Component: Role/Capability | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: multisite
--------------------------------------+------------------------
Comment (by flixos90):
[attachment:38645.5.diff] brings back the `__call()` method for BC,
introduces a `for_site()` method (plus it calls all related variables
`$site_id`) and removes the unnecessary parameter from the
`remove_action()` call.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38645#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list