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

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


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

Comment (by garrett-eclipse):

 Replying to [comment:27 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.

 Looks good @johnbillion I made a minor improvement in
 [https://core.trac.wordpress.org/attachment/ticket/38777/38777.7.diff
 38777.7.diff]; 1. most-recently shouldn't be hyphenated, 2. Add more
 description to From/To than just the single words.

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


More information about the wp-trac mailing list