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

WordPress Trac noreply at wordpress.org
Sun Sep 20 17:43:16 UTC 2020


#40568: Add an action in WP_Error::add()
------------------------------------+--------------------------
 Reporter:  Shelob9                 |       Owner:  johnbillion
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:  5.6
Component:  General                 |     Version:  2.1
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+--------------------------
Changes (by johnbillion):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49022" 49022]:
 {{{
 #!CommitTicketReference repository="" revision="49022"
 General: Introduce the `wp_error_added` and `wp_error_checked` actions.

 These actions allow debugging tools to track `WP_Error` instances as
 they're created and subsequently passed between functions which check for
 error objects.

 Props Shelob9, Mte90, TimothyBlynJacobs, johnbillion

 Fixes #40568
 }}}

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


More information about the wp-trac mailing list