[wp-trac] [WordPress Trac] #38777: Add method to merge one WP_Error into another
WordPress Trac
noreply at wordpress.org
Fri Oct 9 22:23:28 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):
Oops looks like I wasn't fast enough before your commit @johnbillion.
My changes were just `most-recently` => `most recently`.
And expand on this part of the copy_errors docblock;
{{{
* @param WP_Error $from The WP_Error to copy from.
* @param WP_Error $to The WP_Error to copy to.
}}}
Not sure if worth a follow-up commit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38777#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list