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
This commit is contained in:
Matt Mullenweg 2007-04-02 07:46:05 +00:00
parent 0b78f9638c
commit 3be1be3815

View File

@ -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{