[wp-trac] [WordPress Trac] #28319: Add hook to WP_Error for logging and report purposes

WordPress Trac noreply at wordpress.org
Thu Jul 10 01:11:46 UTC 2014

#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:  trunk
 Severity:  normal                         |  Resolution:
 Keywords:  reporter-feedback 2nd-opinion  |     Focuses:

Comment (by ebinnion):

 I agree running the action on the add method makes much more sense.

 My initial use case came came from my code wrangler trial. I was tasked
 with creating a message/error logging API.

 I don't think this action would be useful all of the time, but in certain
 circumstances where a user was reporting awkward behavior, it could be
 convenient for debug plugins to be able to get information on WP_Error
 objects as well as errors/notices.

Ticket URL: <https://core.trac.wordpress.org/ticket/28319#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list