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

WordPress Trac noreply at wordpress.org
Mon Dec 11 15:42:27 UTC 2017


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

Comment (by adamsilverstein):

 @ryelle This works great in my testing, thanks! It is nice seeing the tiny
 api response.

 The docblock with `@deprecated` looks right although the
 `_deprecated_function` call should also be 4.9.

 I tested this in Gutenberg tag search and noticed I'm getting the full tag
 data payload - it would be good to add the _fields parameter there as
 well. I opened an issue:
 https://github.com/WordPress/gutenberg/issues/3913

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


More information about the wp-trac mailing list