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:
parent
e949a5bd93
commit
2f26bbdf8d
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue