mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 09:34:41 +00:00
Docs: Promote many bool types to true or false where only that value is used.
See #51800 git-svn-id: https://develop.svn.wordpress.org/trunk@49927 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -280,7 +280,7 @@ function get_editable_roles() {
|
||||
* @since 2.0.5
|
||||
*
|
||||
* @param int $user_id User ID.
|
||||
* @return WP_User|bool WP_User object on success, false on failure.
|
||||
* @return WP_User|false WP_User object on success, false on failure.
|
||||
*/
|
||||
function get_user_to_edit( $user_id ) {
|
||||
$user = get_userdata( $user_id );
|
||||
|
||||
Reference in New Issue
Block a user