From 2b49d4660b59a311f6ac986be51d50dbd48210c4 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Tue, 2 Oct 2018 16:22:46 +0000 Subject: [PATCH] Docs: Replace incorrect usage of "who's" with "whose". Whom can say who's "whose" is who's? Is it a Who that Horton heard? Maybe it's The Who whose "who" knowledge will hook whomever hoots "who's" instead of "whose". Hoot. Hoot. Props Hafiz. Fixes #45026. git-svn-id: https://develop.svn.wordpress.org/trunk@43665 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/template.php | 8 ++++---- src/wp-admin/includes/user.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 22ef697fe9..75b92889e7 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -1482,8 +1482,8 @@ function do_settings_sections( $page ) { * * @since 2.7.0 * - * @param string $page Slug title of the admin page who's settings fields you want to show. - * @param string $section Slug title of the settings section who's fields you want to show. + * @param string $page Slug title of the admin page whose settings fields you want to show. + * @param string $section Slug title of the settings section whose fields you want to show. */ function do_settings_fields( $page, $section ) { global $wp_settings_fields; @@ -1568,7 +1568,7 @@ function add_settings_error( $setting, $code, $message, $type = 'error' ) { * * @global array $wp_settings_errors Storage array of errors registered during this pageload * - * @param string $setting Optional slug title of a specific setting who's errors you want. + * @param string $setting Optional slug title of a specific setting whose errors you want. * @param boolean $sanitize Whether to re-sanitize the setting value before returning errors. * @return array Array of settings errors */ @@ -1631,7 +1631,7 @@ function get_settings_errors( $setting = '', $sanitize = false ) { * * @since 3.0.0 * - * @param string $setting Optional slug title of a specific setting who's errors you want. + * @param string $setting Optional slug title of a specific setting whose errors you want. * @param bool $sanitize Whether to re-sanitize the setting value before returning errors. * @param bool $hide_on_update If set to true errors will not be shown if the settings page has * already been submitted. diff --git a/src/wp-admin/includes/user.php b/src/wp-admin/includes/user.php index 4634c8e318..4e454c6a7f 100644 --- a/src/wp-admin/includes/user.php +++ b/src/wp-admin/includes/user.php @@ -244,7 +244,7 @@ function edit_user( $user_id = 0 ) { * Fetch a filtered list of user roles that the current user is * allowed to edit. * - * Simple function who's main purpose is to allow filtering of the + * Simple function whose main purpose is to allow filtering of the * list of roles in the $wp_roles object so that plugins can remove * inappropriate ones depending on the situation or user making edits. * Specifically because without filtering anyone with the edit_users