Docs: Correct the documentation for wp_list_authors()
.
The `exclude_admin` argument defaults to `true`, not `false`. Props haruharuharuby. Fixes #45120. git-svn-id: https://develop.svn.wordpress.org/trunk@44503 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
62b4465532
commit
2a6e44a306
@ -391,7 +391,7 @@ function get_author_posts_url( $author_id, $author_nicename = '' ) {
|
||||
* @type string $order Sorting direction for $orderby. Accepts 'ASC', 'DESC'. Default 'ASC'.
|
||||
* @type int $number Maximum authors to return or display. Default empty (all authors).
|
||||
* @type bool $optioncount Show the count in parenthesis next to the author's name. Default false.
|
||||
* @type bool $exclude_admin Whether to exclude the 'admin' account, if it exists. Default false.
|
||||
* @type bool $exclude_admin Whether to exclude the 'admin' account, if it exists. Default true.
|
||||
* @type bool $show_fullname Whether to show the author's full name. Default false.
|
||||
* @type bool $hide_empty Whether to hide any authors with no posts. Default true.
|
||||
* @type string $feed If not empty, show a link to the author's feed and use this text as the alt
|
||||
|
Loading…
x
Reference in New Issue
Block a user