[wp-cvs] wordpress/wp-includes functions.php,1.153,1.154

Matthew Mullenweg saxmatt at users.sourceforge.net
Sun Sep 5 01:22:19 UTC 2004


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

Modified Files:
	functions.php 
Log Message:
Install and upgrade refactoring complete.

Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.153
retrieving revision 1.154
diff -C2 -d -r1.153 -r1.154
*** functions.php	5 Sep 2004 00:24:28 -0000	1.153
--- functions.php	5 Sep 2004 01:22:17 -0000	1.154
***************
*** 365,369 ****
  		$value = serialize($value);
  
! 	if(!get_settings($name)) {
  		$name = $wpdb->escape($name);
  		$value = $wpdb->escape($value);
--- 365,369 ----
  		$value = serialize($value);
  
! 	if( !$wpdb->get_var("SELECT option_name FROM $wpdb->options WHERE option_name = '$name'") ) {
  		$name = $wpdb->escape($name);
  		$value = $wpdb->escape($value);




More information about the cvs mailing list