[wp-trac] [WordPress Trac] #28319: Add hook to WP_Error for logging and report purposes
WordPress Trac
noreply at wordpress.org
Wed Jan 7 03:12:59 UTC 2015
#28319: Add hook to WP_Error for logging and report purposes
-----------------------------------+-----------------------------
Reporter: ebinnion | Owner: johnbillion
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: General | Version: 4.0
Severity: normal | Resolution:
Keywords: 2nd-opinion has-patch | Focuses:
-----------------------------------+-----------------------------
Comment (by sboisvert):
> A logging interface (PSR-3 style) seems to be a far better option IMHO.
Just so I understand correctly the WP_Errors would basically be routed
thru there as well as doing_it_wrong, deprecated etc and we'd hook in
there instead of WP_Error? Would we still be able to change what's
returned? If not I feel like these might be 2 different and great features
and that doing one would not stop us from doing the other.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28319#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list