[wp-trac] [WordPress Trac] #32315: $wpdb->insert fails without error msg
WordPress Trac
noreply at wordpress.org
Tue Nov 16 03:19:47 UTC 2021
#32315: $wpdb->insert fails without error msg
--------------------------+-----------------------------
Reporter: dlt101 | Owner: hellofromTonya
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.9
Component: Database | Version: 4.2.1
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Changes (by hellofromTonya):
* keywords: has-patch has-unit-tests commit => needs-patch
Comment:
Replying to [comment:83 SergeyBiryukov]:
> Thanks for the commit!
>
> Re-reading the message for multiple fields now:
> > `WordPress database error: Processing the value for the following
fields failed: %s. The supplied value may be too long or contains invalid
data.`
>
> Should "values" be plural here too? I think I'd expect something like
this:
> > `WordPress database error: Processing the values for the following
fields failed: %s. The supplied values may be too long or contain invalid
data.`
Hmm, yes, I think so too. Let me create a patch for that and ensure the
tests continue to pass.
Resetting the keywords for this follow-up patch and commit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32315#comment:84>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list