Index: branches/Ver2.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/pluggable-override.php
===================================================================
--- branches/Ver2.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/pluggable-override.php	(revision 823)
+++ branches/Ver2.4/xpressme_integration_kit/wp-content/plugins/xpressme/include/pluggable-override.php	(revision 830)
@@ -318,4 +318,24 @@
 endif;
 
+if ( !function_exists('is_user_logged_in') ) :
+/**
+ * Checks if the current visitor is a logged in user.
+ *
+ * @since 2.0.0
+ *
+ * @return bool True if user is logged in, false if not logged in.
+ */
+function is_user_logged_in() {
+	$user = wp_get_current_user();
+	if (method_exists($user, 'exists')) {
+		if ( ! $user->exists() ) return false;
+	} else {
+		if ( empty( $user->ID ) ) return false;
+	}
+	return true;
+}
+endif;
+
+
 // ***********************************  End Of Pluggable Function Edit (wp-include/pluggable.php) ************************************
 
