[wp-trac] [WordPress Trac] #40568: Add an action in WP_Error::add()

WordPress Trac noreply at wordpress.org
Wed Apr 26 01:55:32 UTC 2017

#40568: Add an action in WP_Error::add()
 Reporter:  Shelob9       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  2.1
 Severity:  normal        |   Keywords:
  Focuses:                |
 It would be very useful if when an error was added in WP_Error.

 Such an action would allow for the following:
 1) Logging specific errors conditionally based on code.
 2) A plugin that created a WP_Error log
 3) Plugin developer could have an optional error logging feature for every
 time their plugin created a WP_Error object.

Ticket URL: <https://core.trac.wordpress.org/ticket/40568>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list