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

git-svn-id: http://svn.automattic.com/wordpress/trunk@20618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-04-27 18:57:08 +00:00
parent e949a5bd93
commit 2f26bbdf8d
1 changed files with 1 additions and 1 deletions

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.