Int cast a step variable. see #19786. props Caspie.

git-svn-id: https://develop.svn.wordpress.org/trunk@20618 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-04-27 18:57:08 +00:00
parent 75bd431c76
commit 5b0664dde5

View File

@ -41,7 +41,7 @@ require_once( dirname( __FILE__ ) . '/includes/upgrade.php' );
/** Load wpdb */
require_once(dirname(dirname(__FILE__)) . '/wp-includes/wp-db.php');
$step = isset( $_GET['step'] ) ? $_GET['step'] : 0;
$step = isset( $_GET['step'] ) ? (int) $_GET['step'] : 0;
/**
* Display install header.