[wp-trac] [WordPress Trac] #46246: get_rest_url() depends depends on get_home_url()

WordPress Trac noreply at wordpress.org
Wed Feb 13 19:47:36 UTC 2019


#46246: get_rest_url() depends depends on get_home_url()
--------------------------+-----------------------------
 Reporter:  pscibisz      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  REST API      |    Version:  5.0.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 In the get_rest_url() function, the function get_home_url() is used to
 build the rest api address, not get_site_url (). This makes it impossible
 to use wordpress as a CMS on one domain and displaying a fornt on another
 domain using API communication.

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


More information about the wp-trac mailing list