mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +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:
@@ -140,7 +140,7 @@ if ( $wp_rewrite->using_index_permalinks() )
|
||||
else
|
||||
$usingpi = false;
|
||||
|
||||
$wp_rewrite->flush_rules();
|
||||
flush_rewrite_rules();
|
||||
|
||||
if (isset($_POST['submit'])) : ?>
|
||||
<div id="message" class="updated"><p><?php
|
||||
|
||||
Reference in New Issue
Block a user