Fix off-by-one substr() error. Props blepoxp. See #12159
git-svn-id: http://svn.automattic.com/wordpress/trunk@13042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
61859c5f5e
commit
d671bbe036
|
@ -212,7 +212,7 @@ switch($step) {
|
|||
case "define('LOGGED_I":
|
||||
case "define('NONCE_SA":
|
||||
if ( $secret_keys )
|
||||
$configFile[$line_num] = str_replace('put your unique phrase here', substr( $secret_keys[$key++], 27, 64 ), $line );
|
||||
$configFile[$line_num] = str_replace('put your unique phrase here', substr( $secret_keys[$key++], 28, 64 ), $line );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue