From 2a6e44a3066354de61aa91b967dcd8b98f6e5bc3 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Wed, 9 Jan 2019 06:51:38 +0000 Subject: [PATCH] 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 --- src/wp-includes/author-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/author-template.php b/src/wp-includes/author-template.php index 3ad3f90ce0..b73d84dadc 100644 --- a/src/wp-includes/author-template.php +++ b/src/wp-includes/author-template.php @@ -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