[wp-trac] [WordPress Trac] #38922: Use REST API for ajax tag search
WordPress Trac
noreply at wordpress.org
Fri Apr 28 13:40:05 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
------------------------------+------------------------------
Changes (by adamsilverstein):
* keywords: has-patch => has-patch commit
Comment:
Discussed the 'deeper filter' concern with @rmccue. His concern was around
hooks buried inside functions called by this request: get_terms, etc. When
we make this change the same hooks will still run, however, the context
will be different since this will now be a REST request instead of an AJAX
request.
Developers relying on checking `AJAX_REQUEST` etc. inside their hook
callbacks will need to adjust their code and we should make sure we note
that in the developer docs/release field guide.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38922#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list