Globalize wp_rewrite in wp-settings. props mrtorrent, fixes #17749.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-12-20 20:43:15 +00:00
parent 24ab16bc4e
commit e7a3480e61

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