[wp-trac] [WordPress Trac] #39005: REST API: Site URL setting should not be present on multisite installations
WordPress Trac
noreply at wordpress.org
Sat Feb 18 19:29:27 UTC 2017
#39005: REST API: Site URL setting should not be present on multisite installations
-------------------------------------------+-------------------------------
Reporter: johnbillion | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: Options, Meta APIs | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch commit dev-reviewed | Focuses: multisite, rest-
| api
-------------------------------------------+-------------------------------
Comment (by jnylen0):
In [changeset:"40077"]:
{{{
#!CommitTicketReference repository="" revision="40077"
REST API: Skip generating the client test fixtures in multisite mode.
There are a couple of changes to the generated API schemas between single-
site and multisite mode - for example, the `url` and `email` settings are
not present in the settings endpoint (see #39005).
To avoid unexpected changes to the `wp-api-generated.js` fixture file,
skip generating the client test fixtures when running the test suite in
multisite mode.
See #39264.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39005#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list