Ticket #19470: 19470.patch
File 19470.patch, 658 bytes (added by , 13 years ago) |
---|
-
wp-admin/user-new.php
100 100 } else { 101 101 if ( current_user_can('edit_users') ) { 102 102 $new_user_login = apply_filters('pre_user_login', sanitize_user(stripslashes($_REQUEST['user_login']), true)); 103 $redirect = 'users.php?usersearch='. urlencode($new_user_login) . '&update=add' . '#user-' . $user_id;103 $redirect = 'users.php?usersearch='. urlencode($new_user_login) . '&update=add'; 104 104 } else { 105 105 $redirect = add_query_arg( 'update', 'add', 'user-new.php' ); 106 106 }