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.

Built from https://develop.svn.wordpress.org/trunk@27736


git-svn-id: http://core.svn.wordpress.org/trunk@27573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-03-26 14:31:16 +00:00
parent 3171da9986
commit 7213fe1518
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ switch($step) {
if ( $error === false ) {
$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 );
?>