b343c9ee06
git-svn-id: https://develop.svn.wordpress.org/trunk@12624 602fd350-edb4-49c9-b593-d223f7449a82
10 lines
305 B
PHP
10 lines
305 B
PHP
<?php
|
|
|
|
function generate_random_password( $len = 8 ) {
|
|
_deprecated_function( __FUNCTION__, '3.0', 'wp_generarte_password()' );
|
|
$random_password = substr(md5(uniqid(microtime())), 0, intval( $len ) );
|
|
$random_password = apply_filters('random_password', $random_password);
|
|
return $random_password;
|
|
}
|
|
|
|
?>
|