[wp-trac] [WordPress Trac] #10377: Comment fields should have max lengths
WordPress Trac
noreply at wordpress.org
Fri Feb 12 13:54:53 UTC 2016
#10377: Comment fields should have max lengths
--------------------------------------+--------------------------
Reporter: muriloazevedo | Owner: rachelbaker
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.5
Component: Comments | Version: 2.8
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+--------------------------
Changes (by rachelbaker):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"36514"]:
{{{
#!CommitTicketReference repository="" revision="36514"
Comments: Change `wp_get_comment_column_max_length()` function to
`wp_get_comment_fields_max_lengths()` for consolidation and better
fallbacks.
Instead of returning a value for each of the related table column lengths,
return an array of all of the column lengths used in the comment form.
Better fallback handling, where each field falls back to the expected
max_length instead of an arbitrary number.
Props azaozz.
Fixes #10377.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/10377#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list