mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Move rewrite and permalink functions into WP_Rewrite class.
git-svn-id: https://develop.svn.wordpress.org/trunk@1908 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ if ((isset($_GET['error']) && $_GET['error'] == '404') ||
|
||||
$error = '404';
|
||||
|
||||
// Fetch the rewrite rules.
|
||||
$rewrite = rewrite_rules('matches');
|
||||
$rewrite = $wp_rewrite->wp_rewrite_rules();
|
||||
|
||||
if (! empty($rewrite)) {
|
||||
$pathinfo = $_SERVER['PATH_INFO'];
|
||||
|
||||
Reference in New Issue
Block a user