Changeset 44612 for trunk/src/wp-admin/user-new.php
- Timestamp:
- 01/16/2019 05:28:56 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/user-new.php
r43571 r44612 166 166 $add_user_errors = $user_details['errors']; 167 167 } else { 168 /** 169 * Filters the user_login, also known as the username, before it is added to the site. 170 * 171 * @since 2.0.3 172 * 173 * @param string $user_login The sanitized username. 174 */ 168 /** This filter is documented in wp-includes/user.php */ 175 169 $new_user_login = apply_filters( 'pre_user_login', sanitize_user( wp_unslash( $_REQUEST['user_login'] ), true ) ); 176 170 if ( isset( $_POST['noconfirmation'] ) && current_user_can( 'manage_network_users' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.