Ensure proper slashing of the password on install.
This isn't the ideal fix, but it makes things work for now. props nofearinc. fixes #26573. git-svn-id: https://develop.svn.wordpress.org/trunk@27736 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4a58d1a91b
commit
3843983ffa
|
@ -217,7 +217,7 @@ switch($step) {
|
||||||
|
|
||||||
if ( $error === false ) {
|
if ( $error === false ) {
|
||||||
$wpdb->show_errors();
|
$wpdb->show_errors();
|
||||||
$result = wp_install($weblog_title, $user_name, $admin_email, $public, '', $admin_password);
|
$result = wp_install($weblog_title, $user_name, $admin_email, $public, '', wp_slash( $admin_password ) );
|
||||||
extract( $result, EXTR_SKIP );
|
extract( $result, EXTR_SKIP );
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue