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:
dd32 2010-02-10 10:59:45 +00:00
parent 61859c5f5e
commit d671bbe036
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}