Set autocomplete off for password files on the profile pages. Fixes #5006.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e9164dd56d
commit
e430f167d7
|
@ -46,6 +46,10 @@ function profile_js ( ) {
|
|||
$('#pass1').keyup( check_pass_strength )
|
||||
$('.color-palette').click(function(){$(this).siblings('input[name=admin_color]').attr('checked', 'checked')});
|
||||
} );
|
||||
|
||||
addLoadEvent( function() {
|
||||
jQuery('#pass1,#pass2').attr('autocomplete','off');
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue