[wp-trac] [WordPress Trac] #38777: Add method to merge one WP_Error into another

WordPress Trac noreply at wordpress.org
Fri Oct 9 22:06:26 UTC 2020


#38777: Add method to merge one WP_Error into another
--------------------------------------+--------------------------
 Reporter:  rmccue                    |       Owner:  johnbillion
     Type:  feature request           |      Status:  reviewing
 Priority:  normal                    |   Milestone:  5.6
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+--------------------------

Comment (by johnbillion):

 [attachment:"38777.6.diff"] adds a test for the direct `error_data`
 property manipulation that Timothy mentioned above, and tweaks a bunch of
 docblocks.

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


More information about the wp-trac mailing list