Make WordPress Core

Changeset 2198


Ignore:
Timestamp:
02/02/2005 06:07:11 AM (21 years ago)
Author:
rboren
Message:

Fix apply_filters. Bug 777.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r2197 r2198  
    891891    global $wp_filter;
    892892   
    893     $args = array($string) + array_slice(func_get_args(), 3);
    894    
    895893    merge_filters($tag);
    896894   
     
    899897            if (!is_null($functions)) {
    900898                foreach($functions as $function) {
     899                    $args = array($string) + array_slice(func_get_args(), 3);
    901900                    $string = call_user_func_array($function, $args);
    902901                }
Note: See TracChangeset for help on using the changeset viewer.