Permalink
Browse files

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
  • Loading branch information...
1 parent 24ab16b commit e7a3480e61bc097e2c888d7a28899d2168aa0664 nacin committed Dec 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-settings.php
View
@@ -237,7 +237,7 @@
* @global object $wp_rewrite
* @since 1.5.0
*/
-$wp_rewrite = new WP_Rewrite();
+$GLOBALS['wp_rewrite'] = new WP_Rewrite();
/**
* WordPress Object

0 comments on commit e7a3480

Please sign in to comment.