mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
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:
parent
24ab16bc4e
commit
e7a3480e61
@ -237,7 +237,7 @@ $wp_query =& $wp_the_query;
|
|||||||
* @global object $wp_rewrite
|
* @global object $wp_rewrite
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
$wp_rewrite = new WP_Rewrite();
|
$GLOBALS['wp_rewrite'] = new WP_Rewrite();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* WordPress Object
|
* WordPress Object
|
||||||
|
Loading…
Reference in New Issue
Block a user