WordPress.org

Make WordPress Core

Ticket #4625: 4625.diff

File 4625.diff, 432 bytes (added by Nazgul, 11 years ago)
  • wp-includes/plugin.php

     
    5757                                $string = call_user_func_array($the_['function'], array_slice($args, 1, (int) $the_['accepted_args']));
    5858                        }
    5959
    60         } while ( next($wp_filter[$tag]) );
     60        } while ( next($wp_filter[$tag]) !== false );
    6161
    6262        return $string;
    6363}