Ticket #30509: 30509.patch
File 30509.patch, 904 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/pluggable.php
1974 1974 * 1975 1975 * @since 2.5.0 1976 1976 * 1977 * @param int $length The length of password to generate 1977 * @param int $length The length of password to generate. 1978 1978 * @param bool $special_chars Whether to include standard special characters. Default true. 1979 1979 * @param bool $extra_special_chars Whether to include other special characters. Used when 1980 1980 * generating secret keys and salts. Default false. 1981 * @return string The random password 1982 * */1981 * @return string The random password. 1982 */ 1983 1983 function wp_generate_password( $length = 12, $special_chars = true, $extra_special_chars = false ) { 1984 1984 $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; 1985 1985 if ( $special_chars )