Changeset 30580
- Timestamp:
- 11/26/2014 08:37:36 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r30576 r30580 1976 1976 * @since 2.5.0 1977 1977 * 1978 * @param int $length The length of password to generate 1979 * @param bool $special_chars Whether to include standard special characters. Default true. 1980 * @param bool $extra_special_chars Whether to include other special characters. Used when 1981 * generating secret keys and salts. Default false. 1982 * @return string The random password 1983 **/ 1978 * @param int $length Optional. The length of password to generate. Default 12. 1979 * @param bool $special_chars Optional. Whether to include standard special characters. 1980 * Default true. 1981 * @param bool $extra_special_chars Optional. Whether to include other special characters. 1982 * Used when generating secret keys and salts. Default false. 1983 * @return string The random password. 1984 */ 1984 1985 function wp_generate_password( $length = 12, $special_chars = true, $extra_special_chars = false ) { 1985 1986 $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
Note: See TracChangeset
for help on using the changeset viewer.