WordPress.org

Make WordPress Core

Changeset 14171


Ignore:
Timestamp:
04/20/2010 05:16:14 PM (8 years ago)
Author:
nbachiyski
Message:

Focus on the password field if the user has come from the default password nag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r14139 r14171  
    374374break;
    375375}
    376 
     376?>
     377<script type="text/javascript" charset="utf-8">
     378    if (window.location.hash == '#password') {
     379        document.getElementById('pass1').focus();
     380    }
     381</script>
     382<?php
    377383include('./admin-footer.php');
    378384?>
Note: See TracChangeset for help on using the changeset viewer.