[wp-trac] [WordPress Trac] #39005: REST API: Site URL setting should not be present on multisite installations

WordPress Trac noreply at wordpress.org
Thu Dec 1 16:05:58 UTC 2016


#39005: REST API: Site URL setting should not be present on multisite installations
---------------------------------+-------------------------
 Reporter:  johnbillion          |      Owner:
     Type:  defect (bug)         |     Status:  new
 Priority:  normal               |  Milestone:  4.7
Component:  Options, Meta APIs   |    Version:  trunk
 Severity:  normal               |   Keywords:  needs-patch
  Focuses:  multisite, rest-api  |
---------------------------------+-------------------------
 In `register_initial_settings()`, the `siteurl` setting is registered and
 made available to the REST API. On a multisite installation, this setting
 is ''not'' configurable from the General Settings screen, but due to the
 above it ''is'' configurable from the REST API.

 This setting should not be present (and not be available to the REST API)
 on a multisite installation.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39005>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list