Changes between Initial Version and Version 1 of Ticket #10377, comment 20
- Timestamp:
- 09/11/2015 06:37:46 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10377, comment 20
initial v1 3 3 We already have a filter `'comment_form_default_fields'`. Can add an array with hard-coded lengths for the (very rare) cases when somebody wants comments longer than that. Then run the same filter on checking the POST lengths. Or maybe have a function similar to wp_get_comment_content_max_length() that will filter and return the hard-coded values. 4 4 5 Also: what about maxlength and strlen() lengthsfor the other comment fields? If we are adding that for the textarea would be good to add everywhere.5 Also: what about maxlength and strlen() for the other comment fields? If we are adding that for the textarea would be good to add everywhere.