[wp-trac] [WordPress Trac] #36250: WP Rest API: home_url instead of	siteurl?
    WordPress Trac 
    noreply at wordpress.org
       
    Tue Mar 15 14:52:18 UTC 2016
    
    
  
#36250: WP Rest API: home_url instead of siteurl?
--------------------------+-----------------------------
 Reporter:  Compute       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  REST API      |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi there,
 The domain.com/wp-json/ gives an baseurl back. But it seems like its using
 the home_url instead of siteurl which results in domain.com/wp/ if you
 have WP installed in a subdirectory. An URL that will just result in a
 404.
 Is there a reason why its not just using siteurl?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36250>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list