From 3166eee4815b7db0aa726d5bcd301f11c83f7ec2 Mon Sep 17 00:00:00 2001 From: rboren Date: Tue, 25 Jan 2005 00:57:14 +0000 Subject: [PATCH] Remove old "site" page rewrite rules. git-svn-id: http://svn.automattic.com/wordpress/trunk@2147 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/classes.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/wp-includes/classes.php b/wp-includes/classes.php index 56d8b53ea9..347e0fe9bb 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -1088,12 +1088,8 @@ class WP_Rewrite { $page_rewrite = $this->page_rewrite_rules(); $page_rewrite = apply_filters('page_rewrite_rules', $page_rewrite); - // Deprecated style static pages - $page_structure = $this->root . 'site/%pagename%'; - $old_page_rewrite = $this->generate_rewrite_rules($page_structure); - // Put them together. - $this->rules = $page_rewrite + $root_rewrite + $comments_rewrite + $old_page_rewrite + $search_rewrite + $category_rewrite + $author_rewrite + $date_rewrite + $post_rewrite; + $this->rules = $page_rewrite + $root_rewrite + $comments_rewrite + $search_rewrite + $category_rewrite + $author_rewrite + $date_rewrite + $post_rewrite; do_action('generate_rewrite_rules', ''); $this->rules = apply_filters('rewrite_rules_array', $this->rules);