From 3b7421572764b6737badbb3260bc9889176fe254 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Tue, 28 Aug 2007 19:55:11 +0000 Subject: [PATCH] Pass through the function argument so rules can actually be added to the top of the stack, props santos git-svn-id: https://develop.svn.wordpress.org/trunk@5959 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/rewrite.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index df584c635b..bd5daf086a 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -6,7 +6,7 @@ //Add a straight rewrite rule function add_rewrite_rule($regex, $redirect, $after = 'bottom') { global $wp_rewrite; - $wp_rewrite->add_rule($regex, $redirect); + $wp_rewrite->add_rule($regex, $redirect, $after); } //Add a new tag (like %postname%) @@ -953,4 +953,4 @@ class WP_Rewrite { } } -?> \ No newline at end of file +?>