[wp-trac] [WordPress Trac] #38526: REST Multisite new user is not assigned to any site
WordPress Trac
noreply at wordpress.org
Tue Nov 8 19:17:23 UTC 2016
#38526: REST Multisite new user is not assigned to any site
--------------------------+-------------------------
Reporter: Compute | Owner: jeremyfelt
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.7
Component: REST API | Version: trunk
Severity: major | Resolution:
Keywords: needs-patch | Focuses: multisite
--------------------------+-------------------------
Comment (by jeremyfelt):
[attachment:38526.2.diff] adds tests asserting current expectations.
In the process of creating these I ran into a quirk with how
`get_rest_url()` handles the `$path` argument and how
`WP_Test_REST_Controller_Testcase` filters it on every setup. For now I've
set it to skip filtering when `is_multisite()` as our tests should be
written to include the leading slash anyway.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38526#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list