Because of the next we should always do a reset.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fde70e7623
commit
06d577a539
|
@ -46,6 +46,8 @@ function apply_filters($tag, $string) {
|
||||||
if ( !isset($wp_filter[$tag]) )
|
if ( !isset($wp_filter[$tag]) )
|
||||||
return $string;
|
return $string;
|
||||||
|
|
||||||
|
reset( $wp_filter[ $tag ] );
|
||||||
|
|
||||||
$args = func_get_args();
|
$args = func_get_args();
|
||||||
|
|
||||||
do{
|
do{
|
||||||
|
|
Loading…
Reference in New Issue