Skip to content

Commit 792c4ac

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#11022 Discussed in: https://core.trac.wordpress.org/ticket/64224 Reported in: WordPress/Documentation-Issue-Tracker#1849 Props dmsnell, noruzzaman, vHeemstra, westonruter. See #64224. git-svn-id: https://develop.svn.wordpress.org/trunk@61735 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 0cd8a80 commit 792c4ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/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.

0 commit comments

Comments
 (0)