summaryrefslogtreecommitdiffstats
path: root/wp-includes/rewrite.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/rewrite.php')
-rw-r--r--wp-includes/rewrite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php
index 7865351..75445f8 100644
--- a/wp-includes/rewrite.php
+++ b/wp-includes/rewrite.php
@@ -735,7 +735,7 @@ class WP_Rewrite {
// Put them together.
$this->rules = array_merge($robots_rewrite, $page_rewrite, $root_rewrite, $comments_rewrite, $search_rewrite, $category_rewrite, $author_rewrite, $date_rewrite, $post_rewrite, $this->extra_rules);
- do_action('generate_rewrite_rules', array(&$this));
+ do_action_ref_array('generate_rewrite_rules', array(&$this));
$this->rules = apply_filters('rewrite_rules_array', $this->rules);
return $this->rules;