[wp-cvs] wordpress/wp-includes functions.php,1.246,1.247
Ryan Boren
rboren at users.sourceforge.net
Wed Feb 2 06:07:17 GMT 2005
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2080
Modified Files:
functions.php
Log Message:
Fix apply_filters. Bug 777.
Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.246
retrieving revision 1.247
diff -C2 -d -r1.246 -r1.247
*** functions.php 1 Feb 2005 17:27:10 -0000 1.246
--- functions.php 2 Feb 2005 06:07:11 -0000 1.247
***************
*** 891,896 ****
global $wp_filter;
- $args = array($string) + array_slice(func_get_args(), 3);
-
merge_filters($tag);
--- 891,894 ----
***************
*** 899,902 ****
--- 897,901 ----
if (!is_null($functions)) {
foreach($functions as $function) {
+ $args = array($string) + array_slice(func_get_args(), 3);
$string = call_user_func_array($function, $args);
}
***************
*** 1745,1747 ****
}
! ?>
\ No newline at end of file
--- 1744,1746 ----
}
! ?>
More information about the cvs
mailing list