WordPress.org

Make WordPress Core

Ticket #8688: 8688.diff

File 8688.diff, 490 bytes (added by sivel, 9 years ago)
  • wp-includes/pluggable.php

     
    13941394 *
    13951395 * @since 2.5
    13961396 *
     1397 * @param int $length The length of password to generate
     1398 * @param bool $special_chars Whether to include standard special characters
    13971399 * @return string The random password
    13981400 **/
    13991401function wp_generate_password($length = 12, $special_chars = true) {