[wp-trac] [WordPress Trac] #41121: Consistency of the _deprecated_function() calls and related documentation.
WordPress Trac
noreply at wordpress.org
Sun Aug 20 03:58:25 UTC 2017
#41121: Consistency of the _deprecated_function() calls and related documentation.
----------------------------+---------------------------
Reporter: jrf | Owner: DrewAPicture
Type: task (blessed) | Status: reviewing
Priority: normal | Milestone: 4.9
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
----------------------------+---------------------------
Comment (by jrf):
@DrewAPicture In that case, I believe the documentation at the top of the
file should be adjusted to reflect that.
It currently states:
> Deprecated warnings are also thrown if one of these functions is being
defined by a plugin.
https://core.trac.wordpress.org/browser/trunk/src/wp-includes/pluggable-
deprecated.php#L7
I would also like to raise a vote for consistency. Either have all of the
deprecated pluggable functions throw a deprecation warning - even when
redefined -. Or have none of them throw the deprecation warning when
redefined. Not half/half like now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41121#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list