mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
Fix category assigment during link import. fixes #5107 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a3846ef776
commit
42fee85546
@ -736,8 +736,11 @@ function wp_remote_fopen( $uri ) {
|
|||||||
|
|
||||||
|
|
||||||
function wp( $query_vars = '' ) {
|
function wp( $query_vars = '' ) {
|
||||||
global $wp;
|
global $wp, $wp_query, $wp_the_query;
|
||||||
$wp->main( $query_vars );
|
$wp->main( $query_vars );
|
||||||
|
|
||||||
|
if( !isset($wp_the_query) )
|
||||||
|
$wp_the_query = $wp_query;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user