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

WordPress Trac noreply at wordpress.org
Fri Dec 2 23:01:34 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              |  Resolution:
 Keywords:  has-patch           |     Focuses:  multisite, rest-api
--------------------------------+----------------------------------

Comment (by pento):

 In the tests in [attachment:39005.diff], I'd just unset the `'url'` item,
 rather than repeating the array.

 I'm fine with the conditional to fix the bug.

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


More information about the wp-trac mailing list