Set autocomplete off for password files on the profile pages. Fixes #5006.
git-svn-id: https://develop.svn.wordpress.org/trunk@7318 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ed39705caf
commit
c9bb1b604e
@ -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
Block a user