Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function login_username() {
- if (isset($_REQUEST['username'])) {
- echo " <style type='text/css'>
- body.login #user_login, body.login label[for=user_login] {
- display: none;
- }
- </style>n";
- global $user_login;
- return $user_login = sanitize_user($_REQUEST['username'], true);
- }
- }
- add_action('login_head', 'login_username');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement