[wp-trac] [WordPress Trac] #62163: WP_REST_Request::get_params() includes unregistered args including rest_route when not using pretty permalinks

WordPress Trac noreply at wordpress.org
Thu Mar 20 21:34:34 UTC 2025


#62163: WP_REST_Request::get_params() includes unregistered args including
rest_route when not using pretty permalinks
-------------------------------------------------+-------------------------
 Reporter:  westonruter                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  low                                  |   Milestone:  6.8
Component:  REST API                             |     Version:  4.4
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch needs-      |     Focuses:
  unit-tests                                     |
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * keywords:  good-first-bug has-patch changes-requested => good-first-bug
     has-patch needs-unit-tests


Comment:

 As per today's bug scrub and after discussing it with @peterwilsoncc: THe
 logic looks good, but adding some unit test cases would be a good idea to
 ensure the issue isn't reintroduced.

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


More information about the wp-trac mailing list