From 10c1b81d0a62d9a0f5e0b9f7c0c75f904e64e216 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 26 Jan 2006 02:33:14 +0000 Subject: [PATCH] Use double quotes. fixes #2332 git-svn-id: http://svn.automattic.com/wordpress/trunk@3487 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 567f6c8e2..aa9053dac 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -373,7 +373,7 @@ function update_option($option_name, $newvalue) { $option_name = $wpdb->escape($option_name); $wpdb->query("UPDATE $wpdb->options SET option_value = '$newvalue' WHERE option_name = '$option_name'"); if ( $wpdb->rows_affected == 1 ) { - do_action('update_option_{$option_name}', $oldvalue, $newvalue); + do_action("update_option_{$option_name}", $oldvalue, $newvalue); return true; } return false;