[wp-trac] [WordPress Trac] #10377: Comment fields should have max lengths
WordPress Trac
noreply at wordpress.org
Sun Aug 11 20:24:17 UTC 2013
#10377: Comment fields should have max lengths
---------------------------+-----------------------------
Reporter: muriloazevedo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Comments | Version: 2.8
Severity: normal | Resolution:
Keywords: has-patch |
---------------------------+-----------------------------
Changes (by westonruter):
* cc: weston@… (added)
* keywords: 'sql exception' comments => has-patch
Comment:
As noted in the attachment comment, in addition to the `$comment_content`
size check in `wp-comments-post.php`, I've also patched the comment form
to add a `maxlength` to the `textarea` itself (this extends a patch from
#4332). Patch attached, and branch also pushed to GitHub fork:
https://github.com/x-team/WordPress/compare/10377-comment-fields-should-
have-max-lengths
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10377#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list