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

WordPress Trac noreply at wordpress.org
Wed May 21 02:47:23 UTC 2014


#28319: Add hook to WP_Error for logging and report purposes
-------------------------+-----------------------------
 Reporter:  ebinnion     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 I'm currently working on a project to track errors.

 There are methods to track deprecated functions, notices, and catch PHP
 errors. But, if I wanted to track WP_Error objects, there is currently no
 way to tie into the creation of these objects.

 I would like to suggest adding a hook to the creation of WP_Error object
 which would allow developers to access a WP_Error object after it is
 created.

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


More information about the wp-trac mailing list