[wp-cvs] wordpress/wp-includes functions.php,1.188,1.189

Michel Valdrighi michelvaldrighi at users.sourceforge.net
Mon Oct 11 13:22:36 UTC 2004


Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19735/wp-includes

Modified Files:
	functions.php 
Log Message:
remove contextual compatiblity, and require functions-compat instead

Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.188
retrieving revision 1.189
diff -C2 -d -r1.188 -r1.189
*** functions.php	11 Oct 2004 12:04:37 -0000	1.188
--- functions.php	11 Oct 2004 13:22:33 -0000	1.189
***************
*** 1,4 ****
--- 1,6 ----
  <?php
  
+ require_once(dirname(__FILE__).'/functions-compat.php');
+ 
  if (!function_exists('_')) {
  	function _($string) {
***************
*** 7,16 ****
  }
  
- if (!function_exists('floatval')) {
- 	function floatval($string) {
- 		return ((float) $string);
- 	}
- }
- 
  function get_profile($field, $user = false) {
  	global $wpdb;
--- 9,12 ----




More information about the cvs mailing list