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:
Andrew Nacin 2011-12-20 20:43:15 +00:00
parent 93d4783778
commit fc512a48ae

View File

@ -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