Plugin Directory

Changeset 2353566


Ignore:
Timestamp:
08/06/2020 06:13:46 AM (6 years ago)
Author:
collectchat
Message:

version 2.2.4

Location:
collectchat
Files:
2 edited
7 copied

Legend:

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

    r2295381 r2353566  
    11<?php
    22/**
    3  * Plugin Name: Collect.chat - Beautiful Chatbot for Lead Generation and Data Collection
    4  * Version: 2.2.3
     3 * Plugin Name: Collect.chat - Chatbot for Lead Generation and Data Collection
     4 * Version: 2.2.4
    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.
     
    5050
    5151            // Toaster if not configured
    52             $settings = get_option('collectchat-plugin-settings');
    53             if (!(isset($settings) && !empty($settings['script'])) && !(isset($_GET['page']) && $_GET['page'] == 'collectchat'))
    54             {
    55                 add_action('admin_notices', array(
    56                     $this,
    57                     'collectchat_settings_message'
    58                 ));
    59             }
     52            add_action('admin_notices', array($this, 'collectchat_settings_message'));
     53           
    6054           
    6155            // Activation page auto redirect
     
    125119        function collectchat_settings_message()
    126120        {
     121            $settings = get_option('collectchat-plugin-settings');
     122            $postmeta_query_args = array(
     123                'post_type'        => 'post',
     124                'meta_key'         => '_inpost_head_script',
     125            );
     126            $postmeta_query = new WP_Query( $postmeta_query_args );
     127            if (!(isset($settings) && !empty($settings['script'])) && !$postmeta_query->have_posts() && !(isset($_GET['page']) && $_GET['page'] == 'collectchat'))
     128            {
    127129        ?>
    128130            <div class="notice notice-error" style="display: flex;">
     
    136138            </div>
    137139        <?php
     140            }
    138141        }
    139142
  • collectchat/tags/2.2.4/readme.txt

    r2295381 r2353566  
    1 === Beautiful Chatbot for Lead Generation and Data Collection – Collect.chat ===
     1=== Chatbot for Lead Generation and Data Collection – Collect.chat ===
    22Contributors: collectchat
    33Tags: chatbot, bot, chat bot, lead generation, chat widget
    44Requires at least: 4.5.0
    5 Tested up to: 5.4
    6 Stable tag: 2.2.3
     5Tested up to: 5.5
     6Stable tag: 2.2.4
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    378378* 'Show on pages' saving bug is fixed
    379379* Readme updated
     380
     381= 2.2.4 =
     382* Support for WordPress 5.5
     383* Removed unwanted error message when bot is installed only in posts
  • collectchat/trunk/collect.php

    r2295381 r2353566  
    11<?php
    22/**
    3  * Plugin Name: Collect.chat - Beautiful Chatbot for Lead Generation and Data Collection
    4  * Version: 2.2.3
     3 * Plugin Name: Collect.chat - Chatbot for Lead Generation and Data Collection
     4 * Version: 2.2.4
    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.
     
    5050
    5151            // Toaster if not configured
    52             $settings = get_option('collectchat-plugin-settings');
    53             if (!(isset($settings) && !empty($settings['script'])) && !(isset($_GET['page']) && $_GET['page'] == 'collectchat'))
    54             {
    55                 add_action('admin_notices', array(
    56                     $this,
    57                     'collectchat_settings_message'
    58                 ));
    59             }
     52            add_action('admin_notices', array($this, 'collectchat_settings_message'));
     53           
    6054           
    6155            // Activation page auto redirect
     
    125119        function collectchat_settings_message()
    126120        {
     121            $settings = get_option('collectchat-plugin-settings');
     122            $postmeta_query_args = array(
     123                'post_type'        => 'post',
     124                'meta_key'         => '_inpost_head_script',
     125            );
     126            $postmeta_query = new WP_Query( $postmeta_query_args );
     127            if (!(isset($settings) && !empty($settings['script'])) && !$postmeta_query->have_posts() && !(isset($_GET['page']) && $_GET['page'] == 'collectchat'))
     128            {
    127129        ?>
    128130            <div class="notice notice-error" style="display: flex;">
     
    136138            </div>
    137139        <?php
     140            }
    138141        }
    139142
  • collectchat/trunk/readme.txt

    r2295381 r2353566  
    1 === Beautiful Chatbot for Lead Generation and Data Collection – Collect.chat ===
     1=== Chatbot for Lead Generation and Data Collection – Collect.chat ===
    22Contributors: collectchat
    33Tags: chatbot, bot, chat bot, lead generation, chat widget
    44Requires at least: 4.5.0
    5 Tested up to: 5.4
    6 Stable tag: 2.2.3
     5Tested up to: 5.5
     6Stable tag: 2.2.4
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    378378* 'Show on pages' saving bug is fixed
    379379* Readme updated
     380
     381= 2.2.4 =
     382* Support for WordPress 5.5
     383* Removed unwanted error message when bot is installed only in posts
Note: See TracChangeset for help on using the changeset viewer.