[wp-trac] [WordPress Trac] #38922: Use REST API for ajax tag search
WordPress Trac
noreply at wordpress.org
Thu Mar 2 18:52:56 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 | Focuses: rest-api
--------------------------+------------------------------
Comment (by adamsilverstein):
Replying to [comment:5 afercia]:
> Worth noting the REST API response return by default ''all'' the fields,
even the ones that in this case are not needed,
This is a very good point, and something we are discussing supporting
directly in #38131. In the meantime, we could address the issue here
using a filter (`rest_prepare_tag`?) to reduce the returned fields to only
those that we need.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38922#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list