mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Reduce references to the $wp_rewrite global because it's no longer used or a wrapper function can be used instead. Fixes #14546.#14546.
git-svn-id: https://develop.svn.wordpress.org/trunk@20023 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -30,7 +30,7 @@ if ( isset($_GET['import']) && !defined('WP_LOAD_IMPORTERS') )
|
||||
require_once(dirname(dirname(__FILE__)) . '/wp-load.php');
|
||||
|
||||
if ( get_option('db_upgraded') ) {
|
||||
$wp_rewrite->flush_rules();
|
||||
flush_rewrite_rules();
|
||||
update_option( 'db_upgraded', false );
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user