[wp-trac] [WordPress Trac] #36561: Deprecated notices should be classified as such.
WordPress Trac
noreply at wordpress.org
Wed Apr 20 18:39:36 UTC 2016
#36561: Deprecated notices should be classified as such.
----------------------------------+------------------------------
Reporter: jrf | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-docs | Focuses:
----------------------------------+------------------------------
Comment (by jrf):
> I think we're going to need changelog entries added for the change in
behavior when calling trigger_error() in these functions.
@DrewAPicture Good point. Added for the deprecated functions. Not for the
`_doing_it_wrong()` function as in effect the behaviour of that function
does not change.
To be precise: no classification defaults to `E_USER_NOTICE` and the new
classification is the same.
See: http://php.net/manual/en/function.trigger-error.php
For whomever is interested:
I've put in some work on - and will be sending in patches for - the Debug
Bar plugin which will fix a number of issues with how the plugin logs and
presents the error notices to devs.
This patch will not cause any conflicts in that respect and was in actual
fact the result of my debugging efforts on the Debug Bar plugin.
For more info on that:
https://wordpress.org/support/topic/where-does-development-of-this-plugin-
take-place
https://github.com/dd32/debug-bar/pulls and specifically:
https://github.com/dd32/debug-bar/pull/17 and even more specifically:
https://github.com/dd32/debug-
bar/pull/17/commits/a4f5c64a742d8e44bd7d200d5f353d396210a3ee
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36561#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list