[wp-trac] [WordPress Trac] #38629: REST API: Allowed public or private WP_Query vars are lost in `prepare_items_query()`

WordPress Trac noreply at wordpress.org
Tue Nov 8 21:18:36 UTC 2016


#38629: REST API: Allowed public or private WP_Query vars are lost in
`prepare_items_query()`
--------------------------+-----------------------
 Reporter:  rachelbaker   |       Owner:  joehoyle
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.7
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------
Changes (by jnylen0):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 @joehoyle it looks like the `rest_query_var-{$key}` filter is still in
 trunk after [39162], I think we should remove it here since there's a
 cleaner way of doing the same thing.

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


More information about the wp-trac mailing list