[wp-trac] [WordPress Trac] #38922: Use REST API for ajax tag search

WordPress Trac noreply at wordpress.org
Fri Apr 28 16:55:17 UTC 2017


#38922: Use REST API for ajax tag search
------------------------------+------------------------------
 Reporter:  nacin             |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Taxonomy          |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  rest-api
------------------------------+------------------------------

Comment (by adamsilverstein):

 Searching the plugins directory I couldn't find any use of the
 `term_search_min_chars` filter.

 We can't support the search and tax parameters here because the filter is
 run before the search is executed (previously it ran on the search
 callback). Let's remove/deprecate these context parameters. This should be
 ok as long as we document it since they appear unused and other filters
 are already available to let developers adjust the results for the search
 query or rest response that would include access to the tax/search.

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


More information about the wp-trac mailing list