From 48c618bc32146e4deaf3f10d1087ed8b3e02a00a Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 7 Dec 2008 04:51:22 +0000 Subject: [PATCH] Make user-settings per blog git-svn-id: http://svn.automattic.com/wordpress/trunk@10098 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 34f4c0a872..c5c63ee1c8 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -688,8 +688,8 @@ function wp_user_settings() { $saved = isset( $_COOKIE['wp-settings-time-' . $user->ID]) ? preg_replace( '/[^0-9]/', '', $_COOKIE['wp-settings-time-' . $user->ID] ) : 0; if ( $saved > $last_time ) { - update_user_option( $user->ID, 'user-settings', $cookie, true ); - update_user_option( $user->ID, 'user-settings-time', time() - 5, true ); + update_user_option( $user->ID, 'user-settings', $cookie, false ); + update_user_option( $user->ID, 'user-settings-time', time() - 5, false ); return; } }