Plugin Directory

Changeset 2602540


Ignore:
Timestamp:
09/21/2021 05:20:36 PM (4 years ago)
Author:
enrolchat
Message:

Version 1.1

Location:
enrol-chat/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • enrol-chat/trunk/enrol-chat.php

    r2601545 r2602540  
    44 * Plugin URI: https://enrol.chat/
    55 * Description: Create the best conversational chatbot for your website
    6  * Version: 1.0
     6 * Version: 1.1
    77 * Author: Virture Infotek Pte Ltd.
    88 * Author URI: http://mapview.in/
     
    2828            'enrol-chat',
    2929            'ecbw_options_page_html',
    30             plugin_dir_url(__FILE__) . 'assets/enrol_icon.png'
     30            plugin_dir_url(__FILE__) . 'images/ecbw_icon.png'
    3131        );
    3232    }
     
    151151    function ecbw_chat_script() {
    152152       
     153        include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
     154       
    153155        $enrolBotId = esc_js(get_option('enrol_bot_id'));
    154156       
    155         if(!empty($enrolBotId)){
     157        //if(!empty($enrolBotId)){
     158        if(!empty($enrolBotId) && is_plugin_active('enrol-chat/enrol-chat.php')){
     159       
    156160            ?><!--Start of Chatwidget Script-->
    157161            <script>(function(){var a=window;a.chatbsettings={gurl:"https://enrol.app",pid:"<?php print($enrolBotId); ?>"};var b=document,c=function(){window.chatwidget?window.chatwidget.init():setTimeout(()=>{c()},100)},d=function(){var d=b.createElement("script");d.type="text/javascript",d.async=!0,d.src=a.chatbsettings.gurl+"/chatwidget/widget.js",d.onload=c(),d.onreadystatechange=function(){"loaded"==this.readyState?c():""},b.body.appendChild(d)};"complete"===document.readyState?d():a.attachEvent?a.attachEvent("onload",d):a.addEventListener("load",d,!1)})();</script>
  • enrol-chat/trunk/readme.txt

    r2602532 r2602540  
    4242* Initial beta release
    4343
     44= 1.0.1 =
     45* Initial release
     46
     47= 1.1 =
     48* Initial release
     49
    4450== Upgrade Notice ==
    4551
    4652= 1.0 =
    4753Initial beta release
     54
     55= 1.0.1 =
     56Initial release
     57
     58= 1.1 =
     59Initial release
Note: See TracChangeset for help on using the changeset viewer.