mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Tests: Add a basic test for wp() function.
Props pbearne, donmhico. Fixes #48844. git-svn-id: https://develop.svn.wordpress.org/trunk@47212 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 ) ) {
|
||||
|
||||
Reference in New Issue
Block a user