Plugin Directory

Changeset 3034663


Ignore:
Timestamp:
02/12/2024 03:06:52 PM (2 years ago)
Author:
wordpress3cx
Message:

Fixed install with WP CLI

Location:
wp-live-chat-support/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wp-live-chat-support/trunk/admin/class-wplc-plugin-settings.php

    r2880474 r3034663  
    105105      'powered_by' => ''
    106106    );
    107     $temp_options = get_option('wplc_display_options');
     107    $temp_options = get_option('wplc_display_options', array());
    108108    // force defaults when there is no value
    109109    foreach ($defaults as $k => $v) {
  • wp-live-chat-support/trunk/changelog.txt

    r2940821 r3034663  
     1= 10.0.11 - 2024-02-12 =
     2* Fixed install with WP CLI
     3
    14= 10.0.10 - 2023-07-20 =
    25* Updated Translations 
  • wp-live-chat-support/trunk/config.php

    r2940821 r3034663  
    11<?php
    2   $WPLC_PLUGIN_VERSION='10.0.10';
     2  $WPLC_PLUGIN_VERSION='10.0.11';
  • wp-live-chat-support/trunk/readme.txt

    r3028619 r3034663  
    9090
    9191== Changelog ==
     92
     93= 10.0.11 - 2024-02-12 =
     94* Fixed install with WP CLI
    9295
    9396= 10.0.10 - 2023-07-20 =
  • wp-live-chat-support/trunk/wp-live-chat-support.php

    r2940821 r3034663  
    55  Plugin URI: https://www.3cx.com/wp-live-chat/
    66  Description: Live chat and voice/video call for web visitors. Setup a free portal account for unlimited agents and then activate the plugin.
    7   Version: 10.0.10
     7  Version: 10.0.11
    88  Author: 3CX
    99  Author URI: https://www.3cx.com/wp-live-chat/
     
    5353function post_activate_wplc_plugin( $plugin ) {
    5454  global $WPLC_PLUGIN_VERSION;
    55   if( $plugin == plugin_basename( __FILE__ ) ) {
     55  if ( (!defined('WP_CLI') || ! WP_CLI) && $plugin == plugin_basename( __FILE__ ) ) {
    5656      $plugin_settings = new wplc_Admin_Settings($plugin, $WPLC_PLUGIN_VERSION);
    5757      $config = $plugin_settings->read_config();
Note: See TracChangeset for help on using the changeset viewer.