diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php index 026bd32dc1..17adfac7b0 100644 --- a/wp-admin/setup-config.php +++ b/wp-admin/setup-config.php @@ -10,8 +10,8 @@ $configFile = file('../wp-config-sample.php'); if (!is_writable('../')) die("Sorry, I can't write to the directory. You'll have to either change the permissions on your WordPress directory or create your wp-config.php manually."); -$step = $_GET['step']; -if (!$step) $step = 0; +$step = 0; +if(isset($_GET['step'])) $step = $_GET['step']; ?>