[wp-trac] [WordPress Trac] #36250: /wp-json/ using home_url instead of siteurl?

WordPress Trac noreply at wordpress.org
Wed Mar 16 07:52:57 UTC 2016


#36250: /wp-json/ using home_url instead of siteurl?
-------------------------------+------------------------------
 Reporter:  Compute            |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  REST API           |     Version:
 Severity:  normal             |  Resolution:  duplicate
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by Compute):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 I think that the 'url' key should be home_url() instead of get_option(
 'siteurl' ). But it seems like this is really a duplicate of #35647 so
 closing this.

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


More information about the wp-trac mailing list