Tests: Add a basic test for wp() function.

Props pbearne, donmhico.
Fixes #48844.
Built from https://develop.svn.wordpress.org/trunk@47212


git-svn-id: http://core.svn.wordpress.org/trunk@47012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-02-08 05:31:07 +00:00
parent b70056dd70
commit 8fa6586958
2 changed files with 2 additions and 1 deletions

View File

@ -1270,6 +1270,7 @@ function wp_remote_fopen( $uri ) {
*/
function wp( $query_vars = '' ) {
global $wp, $wp_query, $wp_the_query;
$wp->main( $query_vars );
if ( ! isset( $wp_the_query ) ) {

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-alpha-47211';
$wp_version = '5.4-alpha-47212';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.