[wp-trac] [WordPress Trac] #34647: Don't return route URL in WP_REST_Request:get_params()

WordPress Trac noreply at wordpress.org
Tue Nov 17 14:23:11 UTC 2015


#34647: Don't return route URL in WP_REST_Request:get_params()
-----------------------------+-----------------------
 Reporter:  danielbachhuber  |       Owner:  rmccue
     Type:  defect (bug)     |      Status:  accepted
 Priority:  normal           |   Milestone:  4.4
Component:  REST API         |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+-----------------------

Comment (by danielbachhuber):

 Replying to [comment:3 rmccue]:
 > apart from being useless, is there any issue with having this?

 It's incorrect?

 If you were to iterate over `$params`, you'd get an unexpected result.

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


More information about the wp-trac mailing list