summaryrefslogtreecommitdiffstats
path: root/wp-includes
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-19 10:49:12 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-19 10:49:12 +0000
commitfbc7aeca7af0ade42ff6ba0b435db1776f8fdb8b (patch)
treeb52fc6eb9096abc623ec17397837c820fe873e13 /wp-includes
parentd052d41aac2a837afd402ccef45e523d5a695367 (diff)
downloadwordpress-mu-fbc7aeca7af0ade42ff6ba0b435db1776f8fdb8b.tar.gz
wordpress-mu-fbc7aeca7af0ade42ff6ba0b435db1776f8fdb8b.tar.xz
wordpress-mu-fbc7aeca7af0ade42ff6ba0b435db1776f8fdb8b.zip
Don't double-escape this value
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1106 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes')
-rw-r--r--wp-includes/wpmu-functions.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php
index 0a800f8..56884ec 100644
--- a/wp-includes/wpmu-functions.php
+++ b/wp-includes/wpmu-functions.php
@@ -284,7 +284,6 @@ function update_site_option( $key, $value ) {
if ( is_array($value) || is_object($value) )
$value = serialize($value);
- $value = $wpdb->escape( $value );
$wpdb->query( "UPDATE $wpdb->sitemeta SET meta_value = '" . $wpdb->escape( $value ) . "' WHERE site_id='{$wpdb->siteid}' AND meta_key = '$safe_key'" );
wp_cache_delete( $wpdb->siteid . $key, 'site-options' );