Skip to content

Commit eb18c33

Browse files
committed
Docs: Fix backwards default value for wp_list_users()::exclude_admin.
This was previosly listed as defaulting to `false` when in fact it defaults to `true.` Developed in: WordPress/wordpress-develop#11022 Discussed in: https://core.trac.wordpress.org/ticket/64224 Reported in: WordPress/Documentation-Issue-Tracker#1849 Props dmsnell, noruzzaman, vHeemstra, westonruter. See #64224. Built from https://develop.svn.wordpress.org/trunk@61735 git-svn-id: http://core.svn.wordpress.org/trunk@61042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 05de002 commit eb18c33

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

wp-includes/user.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ function get_users( $args = array() ) {
894894
* 'display_name', 'post_count', 'ID', 'meta_value', 'user_login'. Default 'name'.
895895
* @type string $order Sorting direction for $orderby. Accepts 'ASC', 'DESC'. Default 'ASC'.
896896
* @type int $number Maximum users to return or display. Default empty (all users).
897-
* @type bool $exclude_admin Whether to exclude the 'admin' account, if it exists. Default false.
897+
* @type bool $exclude_admin Whether to exclude the 'admin' account, if it exists. Default true.
898898
* @type bool $show_fullname Whether to show the user's full name. Default false.
899899
* @type string $feed If not empty, show a link to the user's feed and use this text as the alt
900900
* parameter of the link. Default empty.

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '7.0-beta1-61734';
19+
$wp_version = '7.0-beta1-61735';
2020

2121
/**
2222
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)