Make WordPress Core

Changeset 38845


Ignore:
Timestamp:
10/20/2016 06:58:26 PM (9 years ago)
Author:
boonebgorges
Message:

Comments: Fix description for reverse_top_level argument in wp_list_comments().

It's a boolean, not a string. Introduced in [25567].

Props bcole808.
Fixes #38371.

File:
1 edited

Legend:

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

    r38669 r38845  
    19111911 *     @type int    $per_page          Number of comments to list per page. Default empty.
    19121912 *     @type int    $avatar_size       Height and width dimensions of the avatar size. Default 32.
    1913  *     @type string $reverse_top_level Ordering of the listed comments. Default null. Accepts 'desc', 'asc'.
     1913 *     @type bool   $reverse_top_level Ordering of the listed comments. If true, will display newest comments first.
    19141914 *     @type bool   $reverse_children  Whether to reverse child comments in the list. Default null.
    19151915 *     @type string $format            How to format the comments list.
Note: See TracChangeset for help on using the changeset viewer.