[wp-trac] [WordPress Trac] #35818: Add _deprecated_action and _deprecated_filter functions
WordPress Trac
noreply at wordpress.org
Fri Feb 12 18:25:51 UTC 2016
#35818: Add _deprecated_action and _deprecated_filter functions
-------------------------+-------------------------
Reporter: chriscct7 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.5
Component: General | Version:
Severity: normal | Keywords: needs-patch
Focuses: |
-------------------------+-------------------------
Similar to `_deprecated_function`, there should exist equivalent functions
to deprecate filters and actions with. An example of a place where this
could be used in core is #34625.
`_deprecated_function` is being used for this already in
https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-
editor.php?rev=36483#L277, but adding new functions would allow for better
context in the handling of these scenarios.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35818>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list