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

WordPress Trac noreply at wordpress.org
Sat Nov 22 08:58:36 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:  4.0
 Severity:  normal                 |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:
-----------------------------------+-----------------------------
Changes (by pento):

 * keywords:  2nd-opinion has-patch close => 2nd-opinion has-patch


Comment:

 A use for this has come up again on WP.com - I think
 [attachment:28319.4.diff] is a reasonable method for allowing external
 access to all errors, at least until we can put proper error logging in
 place.

 > In addition, there's the possibility for a DoS attack using it if errors
 are logged to a DB.

 It's possible to write code that will do a lot worse with pretty much
 everything everywhere in core. This is not a reason to close.

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


More information about the wp-trac mailing list