[wp-trac] [WordPress Trac] #10377: Comment fields should have max lengths
WordPress Trac
noreply at wordpress.org
Fri Sep 4 02:47:14 UTC 2015
#10377: Comment fields should have max lengths
------------------------------+--------------------------
Reporter: muriloazevedo | Owner: rachelbaker
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.4
Component: Comments | Version: 2.8
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+--------------------------
Comment (by pento):
Yep, that's fine. `comment_content` is a `text` field, which stores 65535
bytes. `strlen()` also counts the number of bytes, so we're being
consistent.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/10377#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list