mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
b70056dd70
commit
8fa6586958
@ -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 ) ) {
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user