Docs: Improve syntax for the $lengths
parameter in the hook doc for the wp_get_comment_fields_max_lengths
filter, introduced in [36272].
See #10377. See #35986. git-svn-id: https://develop.svn.wordpress.org/trunk@36921 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
773ed4a36c
commit
1d89f9e228
@ -1021,7 +1021,7 @@ function wp_get_comment_fields_max_lengths() {
|
||||
*
|
||||
* @since 4.5.0
|
||||
*
|
||||
* @param array $lengths Associative array 'field_name' => 'maximum length'.
|
||||
* @param array $lengths Associative array `'field_name' => 'maximum length'`.
|
||||
*/
|
||||
return apply_filters( 'wp_get_comment_fields_max_lengths', $lengths );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user