Skip to content

[DevHub] Wrong default mentioned for wp_list_users (exclude_admin) #1849

@vHeemstra

Description

@vHeemstra

Issue Description

In the Dev docs on wp_list_users, the default value of exclude_admin is wrong. It says false, but it should be true according to the source code.

URL of the Page with the Issue

https://developer.wordpress.org/reference/functions/wp_list_users/

Section of Page with the issue

Parameters

Why is this a problem?

Wrong default value mentioned.

Suggested Fix

Change false to true in the docs/comment in the source code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions