[wp-trac] [WordPress Trac] #45454: REST API: Allow to filter the query in the search controller

WordPress Trac noreply at wordpress.org
Sat Dec 1 08:52:27 UTC 2018


#45454: REST API: Allow to filter the query in the search controller
--------------------------+-----------------------------
 Reporter:  Chouby        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  REST API      |    Version:  5.0
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 [43739] introduced a new search controller. However, unlike ther
 controllers, it doesn't propose a convenient way to filter the query.

 I propose to add a new filter `rest_search_query` similar to the filter
 `rest_{$type}_query` offered by other controllers.

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


More information about the wp-trac mailing list