WordPress.org

Make WordPress Core

Changeset 36921


Ignore:
Timestamp:
03/10/2016 02:50:46 AM (6 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment.php

    r36920 r36921  
    10221022     * @since 4.5.0
    10231023     *
    1024      * @param array  $lengths Associative array 'field_name' => 'maximum length'.
     1024     * @param array $lengths Associative array `'field_name' => 'maximum length'`.
    10251025     */
    10261026    return apply_filters( 'wp_get_comment_fields_max_lengths', $lengths );
Note: See TracChangeset for help on using the changeset viewer.