From f04a7d1efa87026b8e48bc8302eb8267bdb12d4c Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 30 Dec 2008 19:47:59 +0000 Subject: [PATCH] phpdoc updates for wp_generate_password(). Props sivel. fixes #8688 for trunk git-svn-id: https://develop.svn.wordpress.org/trunk@10271 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/pluggable.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index a6985a1c3e..d1233fbdd4 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -1394,6 +1394,8 @@ if ( !function_exists('wp_generate_password') ) : * * @since 2.5 * + * @param int $length The length of password to generate + * @param bool $special_chars Whether to include standard special characters * @return string The random password **/ function wp_generate_password($length = 12, $special_chars = true) {