diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 9ab187b901..cad7692682 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -675,8 +675,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 ); - update_user_option( $user->ID, 'user-settings-time', time() - 5 ); + update_user_option( $user->ID, 'user-settings', $cookie, true ); + update_user_option( $user->ID, 'user-settings-time', time() - 5, true ); return; } }