[wp-trac] [WordPress Trac] #10441: Show warning when deprecated hook is registered
WordPress Trac
noreply at wordpress.org
Tue Jun 28 18:11:27 UTC 2016
#10441: Show warning when deprecated hook is registered
------------------------------------+---------------------------
Reporter: sirzooro | Owner: boonebgorges
Type: feature request | Status: reopened
Priority: normal | Milestone: 4.6
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: dev-feedback has-patch | Focuses:
------------------------------------+---------------------------
Changes (by TimothyBlynJacobs):
* status: closed => reopened
* resolution: fixed =>
Comment:
I think there is an issue with the current version with
`apply_filters_deprecated`.
If no hook is registered for that tag, the function bails early and
returns null instead of the original value. Shouldn't it return the first
`$args`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/10441#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list