From 3be1be3815e308bf97622ba27c2d7f184b629dd6 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 2 Apr 2007 07:46:05 +0000 Subject: [PATCH] Because of the next we should always do a reset. git-svn-id: https://develop.svn.wordpress.org/trunk@5170 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/plugin.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/plugin.php b/wp-includes/plugin.php index cebc9f128f..9482932cff 100644 --- a/wp-includes/plugin.php +++ b/wp-includes/plugin.php @@ -46,6 +46,8 @@ function apply_filters($tag, $string) { if ( !isset($wp_filter[$tag]) ) return $string; + reset( $wp_filter[ $tag ] ); + $args = func_get_args(); do{