[wp-trac] [WordPress Trac] #44825: get_rest_url does not respect query args added to get_home_url

WordPress Trac noreply at wordpress.org
Tue Jun 18 19:01:57 UTC 2019


#44825: get_rest_url does not respect query args added to get_home_url
-------------------------------+------------------------------
 Reporter:  distinct           |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  REST API           |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by TimothyBlynJacobs):

 * keywords:   => reporter-feedback


Comment:

 @distinct could you expand a bit more on your use case? Does your home URL
 always have query parameters in order for your website to load at all?

 My initial thoughts are that particular query params on the home URL
 shouldn't be added to the REST API as well. There is also a high chance of
 conflicting with the various REST API collection params.

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


More information about the wp-trac mailing list