From 035ff03f9575ccea5b664052fb8861c3eb207873 Mon Sep 17 00:00:00 2001 From: emc3 Date: Thu, 20 May 2004 13:31:48 +0000 Subject: [PATCH] Removed and eradicated redundant duplication. And fixed indentation. git-svn-id: http://svn.automattic.com/wordpress/trunk@1327 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 119fa7f97..d166e0549 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -175,11 +175,9 @@ function get_userdata($userid) { global $wpdb, $cache_userdata, $tableusers; if ( empty($cache_userdata[$userid]) ) { $user = $wpdb->get_row("SELECT * FROM $tableusers WHERE ID = '$userid'"); - $user->user_nickname = stripslashes($user->user_nickname); - $user->user_firstname = stripslashes($user->user_firstname); - $user->user_lastname = stripslashes($user->user_lastname); - $user->user_firstname = stripslashes($user->user_firstname); - $user->user_lastname = stripslashes($user->user_lastname); + $user->user_nickname = stripslashes($user->user_nickname); + $user->user_firstname = stripslashes($user->user_firstname); + $user->user_lastname = stripslashes($user->user_lastname); $user->user_description = stripslashes($user->user_description); $cache_userdata[$userid] = $user; } else {