WordPress.org

Make WordPress Core

Changeset 5958


Ignore:
Timestamp:
08/28/2007 07:06:56 PM (11 years 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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}
Note: See TracChangeset for help on using the changeset viewer.