Fix off-by-one substr() error. Props blepoxp. See #12159
git-svn-id: https://develop.svn.wordpress.org/trunk@13042 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8bc11462e3
commit
718fa1b6e8
@ -212,7 +212,7 @@ switch($step) {
|
|||||||
case "define('LOGGED_I":
|
case "define('LOGGED_I":
|
||||||
case "define('NONCE_SA":
|
case "define('NONCE_SA":
|
||||||
if ( $secret_keys )
|
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user