diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php
index 22ef697fe9..75b92889e7 100644
a
|
b
|
function do_settings_sections( $page ) { |
1482 | 1482 | * |
1483 | 1483 | * @since 2.7.0 |
1484 | 1484 | * |
1485 | | * @param string $page Slug title of the admin page who's settings fields you want to show. |
1486 | | * @param string $section Slug title of the settings section who's fields you want to show. |
| 1485 | * @param string $page Slug title of the admin page whose settings fields you want to show. |
| 1486 | * @param string $section Slug title of the settings section whose fields you want to show. |
1487 | 1487 | */ |
1488 | 1488 | function do_settings_fields( $page, $section ) { |
1489 | 1489 | global $wp_settings_fields; |
… |
… |
function add_settings_error( $setting, $code, $message, $type = 'error' ) { |
1568 | 1568 | * |
1569 | 1569 | * @global array $wp_settings_errors Storage array of errors registered during this pageload |
1570 | 1570 | * |
1571 | | * @param string $setting Optional slug title of a specific setting who's errors you want. |
| 1571 | * @param string $setting Optional slug title of a specific setting whose errors you want. |
1572 | 1572 | * @param boolean $sanitize Whether to re-sanitize the setting value before returning errors. |
1573 | 1573 | * @return array Array of settings errors |
1574 | 1574 | */ |
… |
… |
function get_settings_errors( $setting = '', $sanitize = false ) { |
1631 | 1631 | * |
1632 | 1632 | * @since 3.0.0 |
1633 | 1633 | * |
1634 | | * @param string $setting Optional slug title of a specific setting who's errors you want. |
| 1634 | * @param string $setting Optional slug title of a specific setting whose errors you want. |
1635 | 1635 | * @param bool $sanitize Whether to re-sanitize the setting value before returning errors. |
1636 | 1636 | * @param bool $hide_on_update If set to true errors will not be shown if the settings page has |
1637 | 1637 | * already been submitted. |
diff --git a/src/wp-admin/includes/user.php b/src/wp-admin/includes/user.php
index 4634c8e318..4e454c6a7f 100644
a
|
b
|
function edit_user( $user_id = 0 ) { |
244 | 244 | * Fetch a filtered list of user roles that the current user is |
245 | 245 | * allowed to edit. |
246 | 246 | * |
247 | | * Simple function who's main purpose is to allow filtering of the |
| 247 | * Simple function whose main purpose is to allow filtering of the |
248 | 248 | * list of roles in the $wp_roles object so that plugins can remove |
249 | 249 | * inappropriate ones depending on the situation or user making edits. |
250 | 250 | * Specifically because without filtering anyone with the edit_users |