Plugin Directory

Changeset 1661595


Ignore:
Timestamp:
05/21/2017 08:36:06 AM (9 years ago)
Author:
darklrd
Message:

Bug fix - declare global variables

Location:
iflychat/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • iflychat/trunk/iflychat.php

    r1626721 r1661595  
    22/**
    33 * @package iflychat
    4  * @version 4.2.7
     4 * @version 4.3.0
    55 */
    66/*
     
    99Description: One on one chat, Multiple chatrooms, Embedded chatrooms
    1010Author: iFlyChat Team
    11 Version: 4.2.7
     11Version: 4.3.0
    1212Author URI: https://iflychat.com/
    1313*/
     
    2121
    2222if(!defined('DRUPALCHAT_EXTERNAL_HOST')){
    23   define('DRUPALCHAT_EXTERNAL_HOST', 'http://api5.iflychat.com');
     23  define('DRUPALCHAT_EXTERNAL_HOST', 'http://api.iflychat.com');
    2424}
    2525
     
    2929
    3030if(!defined('DRUPALCHAT_EXTERNAL_A_HOST')){
    31   define('DRUPALCHAT_EXTERNAL_A_HOST', 'https://api5.iflychat.com');
     31  define('DRUPALCHAT_EXTERNAL_A_HOST', 'https://api.iflychat.com');
    3232}
    3333
     
    4040}
    4141
    42 define('IFLYCHAT_PLUGIN_VERSION', 'WP-4.2.7');
     42define('IFLYCHAT_PLUGIN_VERSION', 'WP-4.3.0');
    4343if (!defined('IFLYCHAT_DEBUG')) {
    4444  define('IFLYCHAT_DEBUG',          false);
     
    151151  $current_user =  wp_get_current_user();
    152152  $admin_check = FALSE;
     153  $user_data = array();
    153154  if (iflychat_check_chat_admin()) {
    154155      $chat_role = "admin";
     
    232233{   $current_user =  wp_get_current_user();
    233234    global $wp_version;
     235    $data = array();
    234236    if (iflychat_get_option('iflychat_api_key') == " ") {
    235237        return null;
     
    554556PHP Version: <?php echo esc_html( phpversion() ); ?>
    555557
    556 Wordpress Version: <?php echo esc_html( $wp_version ); ?>
     558Wordpress Version: <?php global $wp_version; echo esc_html( $wp_version ); ?>
    557559
    558560Active Theme: <?php
  • iflychat/trunk/readme.txt

    r1626721 r1661595  
    99Tested up to: 4.7
    1010
    11 Stable tag: 4.2.7
     11Stable tag: 4.3.0
    1212
    1313License: GPLv2 or later
     
    141141== Changelog ==
    142142
     143= 4.3.0 =
     144
     14505/21/2017: Bug fix - declare global variables
     146
    143147= 4.2.7 =
    144148
     
    412416== Upgrade Notice ==
    413417
     418= 4.3.0 =
     419After updating, go to iFlyChat Settings page and click on Update button.
     420
    414421= 4.2.5 =
    415422After updating, go to iFlyChat Settings page and click on Update button.
     
    436443After updating, go to iFlyChat Settings page and click on Update button.
    437444
    438 = 3.0.7 =
    439 After updating, go to iFlyChat Settings page and click on Update button.
    440 
    441 
     445
Note: See TracChangeset for help on using the changeset viewer.