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:
ryan 2007-10-12 21:47:34 +00:00
parent a3846ef776
commit 42fee85546

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;
}