Plugin Directory

Changeset 2545682


Ignore:
Timestamp:
06/10/2021 02:42:02 PM (5 years ago)
Author:
atomchat
Message:

Miscellaneous bug fixes

Location:
atomchat/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • atomchat/trunk/README.txt

    r2544359 r2545682  
    55Requires PHP: 5.6
    66Tested up to: 5.7
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88License: GNU General Public License v2.0 or later
    99
     
    142142* Miscellaneous bug fixes
    143143
     144= 1.0.4 =
     145* Miscellaneous bug fixes
     146
  • atomchat/trunk/atomchat.php

    r2544359 r2545682  
    44* Plugin Name: AtomChat
    55* Description: Voice, video & text chat for your WordPress site
    6 * Version: 1.0.3
     6* Version: 1.0.4
    77* Author: AtomChat
    88* Author URI: https://www.atomchat.com/
     
    1717$atomchat_license_key = get_option('atomchat_license_key');
    1818
     19/* Start: To change the default plugin load order to avoid buddypress plugin conflict */
     20if(is_plugin_active('buddypress/bp-loader.php')){
     21    $currentPluginLoadOrder = get_option('active_plugins');
     22
     23    foreach ($currentPluginLoadOrder as $key => $value) {
     24        if($value == 'atomchat/atomchat.php'){
     25            unset($currentPluginLoadOrder[$key]);
     26        }
     27    }
     28    end($currentPluginLoadOrder);
     29    $key = key($currentPluginLoadOrder);
     30    $currentPluginLoadOrder[$key+1] = 'atomchat/atomchat.php';
     31    update_option('active_plugins', $currentPluginLoadOrder);
     32}
     33/* End: To change the default plugin load order to avoid buddypress plugin conflict */
    1934
    2035/**
Note: See TracChangeset for help on using the changeset viewer.