Globalize wp_rewrite in wp-settings. props mrtorrent, fixes #17749.
git-svn-id: https://develop.svn.wordpress.org/trunk@19603 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
93d4783778
commit
fc512a48ae
@ -237,7 +237,7 @@ $wp_query =& $wp_the_query;
|
||||
* @global object $wp_rewrite
|
||||
* @since 1.5.0
|
||||
*/
|
||||
$wp_rewrite = new WP_Rewrite();
|
||||
$GLOBALS['wp_rewrite'] = new WP_Rewrite();
|
||||
|
||||
/**
|
||||
* WordPress Object
|
||||
|
Loading…
Reference in New Issue
Block a user