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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user