Fix category assigment during link import. fixes #5107 for trunk

git-svn-id: https://develop.svn.wordpress.org/trunk@6233 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-10-12 21:47:34 +00:00
parent 8b8777ffba
commit a6076f7083

View File

@ -736,8 +736,11 @@ function wp_remote_fopen( $uri ) {
function wp( $query_vars = '' ) {
global $wp;
global $wp, $wp_query, $wp_the_query;
$wp->main( $query_vars );
if( !isset($wp_the_query) )
$wp_the_query = $wp_query;
}