[wp-cvs] wordpress/wp-content/themes/default footer.php,1.3,1.4

Ryan Boren rboren at users.sourceforge.net
Tue Feb 1 06:20:56 GMT 2005


Update of /cvsroot/cafelog/wordpress/wp-content/themes/default
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31963/wp-content/themes/default

Modified Files:
	footer.php 
Log Message:
Allow multiple args to be passed to apply_filters and do_action.  Move some code into merge_filters.  Use call_user_func_array so that args can be passed by reference.  Provide a default for the second arg to do_action so that we do not have to put empty strings in the do_action calls.  Bug 768.  Hat tip:  morganiq

Index: footer.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-content/themes/default/footer.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** footer.php	14 Jan 2005 06:18:47 -0000	1.3
--- footer.php	1 Feb 2005 06:20:53 -0000	1.4
***************
*** 15,19 ****
  <?php /* "Just what do you think you're doing Dave?" */ ?>
  
! <?php do_action('wp_footer', ''); ?>
  
  </body>
--- 15,19 ----
  <?php /* "Just what do you think you're doing Dave?" */ ?>
  
! 		<?php do_action('wp_footer'); ?>
  
  </body>



More information about the cvs mailing list