Docs: Correct the documentation for `wp_list_authors()`.
The `exclude_admin` argument defaults to `true`, not `false`. Props haruharuharuby. Fixes #45120. Built from https://develop.svn.wordpress.org/trunk@44503 git-svn-id: http://core.svn.wordpress.org/trunk@44334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
21ff86cf43
commit
68f2d8f0af
|
@ -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 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 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 $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 $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 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
|
* @type string $feed If not empty, show a link to the author's feed and use this text as the alt
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.1-alpha-44502';
|
$wp_version = '5.1-alpha-44503';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue