Plugin Directory

Changeset 2295381


Ignore:
Timestamp:
04/30/2020 01:34:34 PM (6 years ago)
Author:
collectchat
Message:

Adding version 2.2.3

Location:
collectchat
Files:
2 edited
7 copied

Legend:

Unmodified
Added
Removed
  • collectchat/tags/2.2.3/collect.php

    r2288115 r2295381  
    22/**
    33 * Plugin Name: Collect.chat - Beautiful Chatbot for Lead Generation and Data Collection
    4  * Version: 2.2.2
     4 * Version: 2.2.3
    55 * Plugin URI: https://collect.chat
    66 * Description: Chatbots are the simplest, easiest way to collect leads & data from visitors. Create free chatbot without coding using Collect.chat. Never miss an opportunity by engaging every site visitor.
     
    184184            // default value for settings
    185185            $initialSettings = get_option('collectchat-plugin-settings');
    186             if ($initialSettings === false || !$initialSettings['showOn'] || !$initialSettings['installedOn'])
     186            if ($initialSettings === false)
    187187            {
    188188                $initialSettings['showOn'] = 'all';
    189189                $initialSettings['installedOn'] = date("Y/m/d");
    190190                update_option('collectchat-plugin-settings', $initialSettings);
    191             }
    192 
     191            }
     192            if($initialSettings === true && !$initialSettings['showOn']) {
     193                $initialSettings['showOn'] = 'all';
     194                update_option('collectchat-plugin-settings', $initialSettings);
     195            }
     196            if($initialSettings === true && !$initialSettings['installedOn']) {
     197                $initialSettings['installedOn'] = date("Y/m/d");
     198                update_option('collectchat-plugin-settings', $initialSettings);
     199            }
     200           
    193201            // add meta box to all post types
    194202            add_meta_box('cc_all_post_meta', esc_html__('Collect.chat Snippet:', 'collectchat-settings') , 'collectchat_meta_setup', array(
  • collectchat/tags/2.2.3/readme.txt

    r2288115 r2295381  
    11=== Beautiful Chatbot for Lead Generation and Data Collection – Collect.chat ===
    22Contributors: collectchat
    3 Tags: chatbot, bot, lead generation, chat widget, landing page
     3Tags: chatbot, bot, chat bot, lead generation, chat widget
    44Requires at least: 4.5.0
    55Tested up to: 5.4
    6 Stable tag: 2.2.2
     6Stable tag: 2.2.3
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    374374= 2.2.1 =
    375375* Readme and minor ui updated
     376
     377= 2.2.3 =
     378* 'Show on pages' saving bug is fixed
     379* Readme updated
  • collectchat/trunk/collect.php

    r2288115 r2295381  
    22/**
    33 * Plugin Name: Collect.chat - Beautiful Chatbot for Lead Generation and Data Collection
    4  * Version: 2.2.2
     4 * Version: 2.2.3
    55 * Plugin URI: https://collect.chat
    66 * Description: Chatbots are the simplest, easiest way to collect leads & data from visitors. Create free chatbot without coding using Collect.chat. Never miss an opportunity by engaging every site visitor.
     
    184184            // default value for settings
    185185            $initialSettings = get_option('collectchat-plugin-settings');
    186             if ($initialSettings === false || !$initialSettings['showOn'] || !$initialSettings['installedOn'])
     186            if ($initialSettings === false)
    187187            {
    188188                $initialSettings['showOn'] = 'all';
    189189                $initialSettings['installedOn'] = date("Y/m/d");
    190190                update_option('collectchat-plugin-settings', $initialSettings);
    191             }
    192 
     191            }
     192            if($initialSettings === true && !$initialSettings['showOn']) {
     193                $initialSettings['showOn'] = 'all';
     194                update_option('collectchat-plugin-settings', $initialSettings);
     195            }
     196            if($initialSettings === true && !$initialSettings['installedOn']) {
     197                $initialSettings['installedOn'] = date("Y/m/d");
     198                update_option('collectchat-plugin-settings', $initialSettings);
     199            }
     200           
    193201            // add meta box to all post types
    194202            add_meta_box('cc_all_post_meta', esc_html__('Collect.chat Snippet:', 'collectchat-settings') , 'collectchat_meta_setup', array(
  • collectchat/trunk/readme.txt

    r2288115 r2295381  
    11=== Beautiful Chatbot for Lead Generation and Data Collection – Collect.chat ===
    22Contributors: collectchat
    3 Tags: chatbot, bot, lead generation, chat widget, landing page
     3Tags: chatbot, bot, chat bot, lead generation, chat widget
    44Requires at least: 4.5.0
    55Tested up to: 5.4
    6 Stable tag: 2.2.2
     6Stable tag: 2.2.3
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    374374= 2.2.1 =
    375375* Readme and minor ui updated
     376
     377= 2.2.3 =
     378* 'Show on pages' saving bug is fixed
     379* Readme updated
Note: See TracChangeset for help on using the changeset viewer.