[wp-trac] [WordPress Trac] #32167: [32307] does not set $wdpb->error
WordPress Trac
noreply at wordpress.org
Fri Oct 16 13:01:33 UTC 2015
#32167: [32307] does not set $wdpb->error
------------------------------------+------------------------------
Reporter: nerrad | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: 4.2.1
Severity: normal | Resolution:
Keywords: dev-feedback has-patch | Focuses:
------------------------------------+------------------------------
Changes (by nerrad):
* keywords: needs-patch dev-feedback => dev-feedback has-patch
Comment:
In this first pass at a patch, I kept it very simple - just added an
general error message to the `last_error` property. Future iterations can
actually go into the various granular child messages and get more granular
with the error (i.e. WHAT field value caused the error) but I think
initial pass at least is better than no error message at all.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32167#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list