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

WordPress Trac noreply at wordpress.org
Fri Sep 11 14:47:47 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 dev-feedback  |     Focuses:
------------------------------------+--------------------------

Comment (by SergeyBiryukov):

 The `maxlength` attribute is probably redundant (and would cause an extra
 query on front-end), I think just checking the length in `wp-comments-
 post.php` would be enough.

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


More information about the wp-trac mailing list