[wp-trac] [WordPress Trac] #10377: Comment fields should have max lengths

WordPress Trac noreply at wordpress.org
Fri Jan 15 14:52: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:
------------------------------------------+--------------------------

Comment (by rachelbaker):

 @ocean90 In [attachment:10377.6.diff] I changed the default fallback to be
 65525, 65535 - 10. This matches the logic in `upgrade_430_fix_comments()`.
 Unit tests for each text-based column type for the comments table included
 in `test_wp_get_comment_column_max_length()`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/10377#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list