From fd8d9c5883d79e5e2054aa928ac703dae76bfdda Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 5 Apr 2015 14:43:57 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/user.php | 2 +- src/wp-includes/user.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/includes/user.php b/src/wp-admin/includes/user.php index bcf13623a9..49062fcbe9 100644 --- a/src/wp-admin/includes/user.php +++ b/src/wp-admin/includes/user.php @@ -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. diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index a98ca8fa05..1972a13a5d 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -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.