diff --git a/wp-includes/class-wp.php b/wp-includes/class-wp.php index 770df083e7..6eb6177c09 100644 --- a/wp-includes/class-wp.php +++ b/wp-includes/class-wp.php @@ -40,7 +40,7 @@ class WP { * @since 2.0.0 * @var array */ - public $query_vars; + public $query_vars = array(); /** * String parsed to set the query variables. @@ -48,7 +48,7 @@ class WP { * @since 2.0.0 * @var string */ - public $query_string; + public $query_string = ''; /** * The request path, e.g. 2015/05/06. @@ -56,7 +56,7 @@ class WP { * @since 2.0.0 * @var string */ - public $request; + public $request = ''; /** * Rewrite rule the request matched. @@ -64,7 +64,7 @@ class WP { * @since 2.0.0 * @var string */ - public $matched_rule; + public $matched_rule = ''; /** * Rewrite query the request matched. @@ -72,7 +72,7 @@ class WP { * @since 2.0.0 * @var string */ - public $matched_query; + public $matched_query = ''; /** * Whether already did the permalink. diff --git a/wp-includes/version.php b/wp-includes/version.php index 7c0678ee2f..4e17590ae1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-52802'; +$wp_version = '6.0-alpha-52804'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.