mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Remove global regs that can poison query objects. fixes #9854
git-svn-id: https://develop.svn.wordpress.org/trunk@11406 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -414,10 +414,10 @@ class WP {
|
||||
$GLOBALS[$key] = $value;
|
||||
}
|
||||
|
||||
$GLOBALS['query_string'] = & $this->query_string;
|
||||
$GLOBALS['query_string'] = $this->query_string;
|
||||
$GLOBALS['posts'] = & $wp_query->posts;
|
||||
$GLOBALS['post'] = & $wp_query->post;
|
||||
$GLOBALS['request'] = & $wp_query->request;
|
||||
$GLOBALS['post'] = $wp_query->post;
|
||||
$GLOBALS['request'] = $wp_query->request;
|
||||
|
||||
if ( is_single() || is_page() ) {
|
||||
$GLOBALS['more'] = 1;
|
||||
|
||||
Reference in New Issue
Block a user