Wordpress/wp-includes/ms-deprecated.php
2010-01-07 02:22:51 +00:00

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;
}
?>