Make WordPress Core

Changeset 44503


Ignore:
Timestamp:
01/09/2019 06:51:38 AM (4 years ago)
Author:
pento
Message:

Docs: Correct the documentation for wp_list_authors().

The exclude_admin argument defaults to true, not false.

Props haruharuharuby.
Fixes #45120.

File:
1 edited

Legend:

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

    r44461 r44503  
    392392 *     @type int          $number        Maximum authors to return or display. Default empty (all authors).
    393393 *     @type bool         $optioncount   Show the count in parenthesis next to the author's name. Default false.
    394  *     @type bool         $exclude_admin Whether to exclude the 'admin' account, if it exists. Default false.
     394 *     @type bool         $exclude_admin Whether to exclude the 'admin' account, if it exists. Default true.
    395395 *     @type bool         $show_fullname Whether to show the author's full name. Default false.
    396396 *     @type bool         $hide_empty    Whether to hide any authors with no posts. Default true.
Note: See TracChangeset for help on using the changeset viewer.