Correct grammar when referring to "a user" vs "an user" in several places.
Props ocean90. Fixes #31894. git-svn-id: https://develop.svn.wordpress.org/trunk@32025 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b0c3d0e7c2
commit
fd8d9c5883
|
@ -257,7 +257,7 @@ function get_users_drafts( $user_id ) {
|
|||
/**
|
||||
* Remove user and optionally reassign posts and links to another user.
|
||||
*
|
||||
* If the $reassign parameter is not assigned to an User ID, then all posts will
|
||||
* If the $reassign parameter is not assigned to a User ID, then all posts will
|
||||
* be deleted of that user. The action 'delete_user' that is passed the User ID
|
||||
* being deleted will be run after the posts are either reassigned or deleted.
|
||||
* The user meta will also be deleted that are for that User ID.
|
||||
|
|
|
@ -1744,7 +1744,7 @@ function email_exists( $email ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Checks whether an username is valid.
|
||||
* Checks whether a username is valid.
|
||||
*
|
||||
* @since 2.0.1
|
||||
*
|
||||
|
@ -1766,7 +1766,7 @@ function validate_username( $username ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Insert an user into the database.
|
||||
* Insert a user into the database.
|
||||
*
|
||||
* Most of the $userdata array fields have filters associated with the values.
|
||||
* The exceptions are 'rich_editing', 'role', 'jabber', 'aim', 'yim',
|
||||
|
@ -2060,7 +2060,7 @@ function wp_insert_user( $userdata ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Update an user in the database.
|
||||
* Update a user in the database.
|
||||
*
|
||||
* It is possible to update a user's password by specifying the 'user_pass'
|
||||
* value in the $userdata parameter array.
|
||||
|
@ -2136,7 +2136,7 @@ function wp_update_user($userdata) {
|
|||
}
|
||||
|
||||
/**
|
||||
* A simpler way of inserting an user into the database.
|
||||
* A simpler way of inserting a user into the database.
|
||||
*
|
||||
* Creates a new user with just the username, password, and email. For more
|
||||
* complex user creation use {@see wp_insert_user()} to specify more information.
|
||||
|
|
Loading…
Reference in New Issue