[wp-trac] [WordPress Trac] #55606: Add wp_after_tag_search filter
WordPress Trac
noreply at wordpress.org
Tue Jul 26 00:13:53 UTC 2022
#55606: Add wp_after_tag_search filter
-------------------------------------------------+-------------------------
Reporter: grandeljay | Owner: audrasjb
Type: enhancement | Status: accepted
Priority: normal | Milestone: 6.1
Component: Taxonomy | Version: 3.1
Severity: normal | Resolution:
Keywords: has-screenshots has-patch needs- | Focuses:
dev-note changes-requested |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* keywords: has-screenshots has-patch needs-dev-note commit => has-
screenshots has-patch needs-dev-note changes-requested
Comment:
For consistency with the existing `term_search_min_chars` filter just a
few lines above in the same function, I think `term_search_results` would
be a better name for this filter. (Starting them both with
`ajax_term_search_*`, or `ajax_tag_search_*` to match the function name,
would perhaps have been even better, but that ship has sailed.)
Generally, it appears that core uses the `*_after_*` wording for actions,
not for filters.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55606#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list