Changeset 1796149
- Timestamp:
- 01/03/2018 12:14:12 AM (8 years ago)
- Location:
- chatwee/trunk
- Files:
-
- 2 edited
-
chatwee-admin.php (modified) (1 diff)
-
chatwee.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
chatwee/trunk/chatwee-admin.php
r1712683 r1796149 548 548 549 549 add_action("wp_ajax_chatwee_admin_get_pages_to_display", "get_pages_to_display"); 550 551 552 ?> -
chatwee/trunk/chatwee.php
r1776174 r1796149 5 5 Plugin URI: https://chatwee.com/ 6 6 Description: WordPress Chat by Chatwee is fully customizable social chat & comment platform for websites and blogs. With Chatwee you can engage your online community and provide real-time communication. 7 Version: 2.0. 47 Version: 2.0.5 8 8 Author: Chatwee Ltd 9 9 Author URI: https://chatwee.com/ … … 13 13 14 14 if (!defined("ABSPATH")) exit; 15 16 if (version_compare(PHP_VERSION, "5.4.0", "<")) {17 if(session_id() == "") {18 session_start();19 }20 } else {21 if (session_status() == PHP_SESSION_NONE) {22 session_start();23 }24 }25 15 26 16 $chatwee_settings = get_option("chatwee_settings"); … … 240 230 "login" => $username, 241 231 "avatar" => get_chatwee_avatar_url($user->ID), 242 "isAdmin" => does_user_belong_to_moderator_group($user->ID) || if_user_is_moderator($user->ID), 243 "previousSessionId" => isSet($_SESSION["chatwee"][$user_login]) ? $_SESSION["chatwee"][$user_login] : null 232 "isAdmin" => does_user_belong_to_moderator_group($user->ID) || if_user_is_moderator($user->ID) 244 233 )); 245 $_SESSION["chatwee"][$user_login] = isSet($_SESSION["chatwee"][$user_login]) === false ? $session_id : $_SESSION["chatwee"][$user_login];246 234 } catch(Exception $exception) { 247 235 add_log("Error while executing login_v1: " . $exception->getMessage()); … … 422 410 return false; 423 411 } 424 425 ?>
Note: See TracChangeset
for help on using the changeset viewer.