mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-29 15:44:27 +00:00
Passwords: New UI for install screen.
Also synchronises the use of `pw_weak` as an input name and removes trailing periods from checkbox labels. Props MikeHansenMe, adamsilverstein, obenland. See #32589. git-svn-id: https://develop.svn.wordpress.org/trunk@33246 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2107,8 +2107,9 @@ function wp_rand( $min = 0, $max = 0 ) {
|
||||
$rnd_value .= sha1($rnd_value);
|
||||
$rnd_value .= sha1($rnd_value . $seed);
|
||||
$seed = md5($seed . $rnd_value);
|
||||
if ( ! defined( 'WP_SETUP_CONFIG' ) )
|
||||
set_transient('random_seed', $seed);
|
||||
if ( ! defined( 'WP_SETUP_CONFIG' ) && ! defined( 'WP_INSTALLING' ) ) {
|
||||
set_transient( 'random_seed', $seed );
|
||||
}
|
||||
}
|
||||
|
||||
// Take the first 8 digits for our value
|
||||
|
||||
Reference in New Issue
Block a user