Changeset 12653
- Timestamp:
- 01/07/2010 08:49:04 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/pluggable.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r12598 r12653 1471 1471 1472 1472 $password = ''; 1473 for ( $i = 0; $i < $length; $i++ ) 1473 for ( $i = 0; $i < $length; $i++ ) { 1474 1474 $password .= substr($chars, wp_rand(0, strlen($chars) - 1), 1); 1475 return $password; 1475 } 1476 1477 // random_password filter was previously in random_password function which was deprecated 1478 return apply_filters('random_password', $password); 1476 1479 } 1477 1480 endif;
Note: See TracChangeset
for help on using the changeset viewer.