Changeset 5958

Show
Ignore:
Timestamp:
08/28/07 19:06:56 (1 year ago)
Author:
ryan
Message:

explicitly check next() against FALSE in do_action_ref_array(). Props Denis-de-Bernardy, Otto42, Nazgul, santosj, DD32. fixes #4625 for trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/plugin.php

    r5936 r5958  
    208208                call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args'])); 
    209209 
    210     } while ( next($wp_filter[$tag]) ); 
     210    } while ( next($wp_filter[$tag]) !== false ); 
    211211 
    212212}