[wp-trac] [WordPress Trac] #48255: Consistent deprecation of action and filter hooks
WordPress Trac
noreply at wordpress.org
Sat Nov 9 13:38:35 UTC 2019
#48255: Consistent deprecation of action and filter hooks
--------------------------+-------------------------------------
Reporter: jrf | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.4
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs, coding-standards
--------------------------+-------------------------------------
Comment (by SergeyBiryukov):
Looking at [46686] and the [https://travis-ci.com/WordPress/wordpress-
develop/builds/135766989 failures it fixed], it appears that while the
`enable_xmlrpc` option was deprecated in [21804] / #21509, the
`pre_option_*` and `option_*` filters added there for backwards
compatibility are not deprecated, so `apply_filters_deprecated()` should
not be used there.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48255#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list