[wp-trac] [WordPress Trac] #10377: Comment fields should have max lengths
WordPress Trac
noreply at wordpress.org
Thu Jan 14 12:09:47 UTC 2016
#10377: Comment fields should have max lengths
------------------------------------------+--------------------------
Reporter: muriloazevedo | Owner: rachelbaker
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.5
Component: Comments | Version: 2.8
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+--------------------------
Changes (by ocean90):
* keywords: has-patch has-unit-tests dev-feedback => needs-patch needs-
unit-tests
* status: closed => reopened
* resolution: fixed =>
Comment:
[36272] broke comments on w.org because `$wpdb->get_col_length()` is
returning false and falls back to 255. Looking at
`upgrade_430_fix_comments()` the fallback should be 65535.
Not sure yet why it returns false, but the method returns also false in
case `$wpdb->is_mysql` is false.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/10377#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list