[wp-trac] [WordPress Trac] #38777: Add method to merge one WP_Error into another
WordPress Trac
noreply at wordpress.org
Sat Apr 25 22:13:20 UTC 2020
#38777: Add method to merge one WP_Error into another
------------------------------------------+-----------------------
Reporter: rmccue | Owner: dlh
Type: feature request | Status: assigned
Priority: normal | Milestone: 5.5
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses: rest-api
------------------------------------------+-----------------------
Comment (by TimothyBlynJacobs):
One of the questions here I think would be what to do with the error data.
As far as I know, `WP_Error` only supports one data entry per-code.
So what should happen if two `WP_Error` objects both have data for the
same code?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38777#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list