[wp-trac] [WordPress Trac] #40568: Add an action in WP_Error::add()
WordPress Trac
noreply at wordpress.org
Wed Aug 26 17:45:02 UTC 2020
#40568: Add an action in WP_Error::add()
--------------------------+------------------------------
Reporter: Shelob9 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 2.1
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Changes (by Mte90):
* keywords: => needs-patch
Comment:
I was talking today with @johnbillion about it and can be handy to have 2
hooks.
One in add this ticket proposal and also inside `is_wp_error` so it will
be possible to check if a WP_Error is checked.
Looking at the other ticket and discussions this hooks are handy for a lot
of cases like expressed in this ticket or my need of today track all the
WP_Error that Query Monitor don't find in a log file that I can inspect as
I want.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40568#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list