From 3843983ffa86599a430354c9c648154de6381c43 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 26 Mar 2014 14:30:26 +0000 Subject: [PATCH] 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 --- src/wp-admin/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/install.php b/src/wp-admin/install.php index 6d2f833a52..5e0cef7588 100644 --- a/src/wp-admin/install.php +++ b/src/wp-admin/install.php @@ -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 ); ?>