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

WordPress Trac noreply at wordpress.org
Thu Nov 24 04:49:20 UTC 2016


#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     |     Focuses:  rest-api
--------------------------+------------------------------

Comment (by chriscct7):

 38922-2 corrects the extra `=` and ends the line with `,` instead of `;`.

 Also keeps the old ajax function, and uses it to retrieve the limit in a
 new GET request so as to preserve hook backwards compatibility with
 context. In order to have context but not have a second GET request the
 REST API could need to have an endpoint that uses the min-chars filter.

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


More information about the wp-trac mailing list