Plugin Directory

Changeset 2995729


Ignore:
Timestamp:
11/14/2023 12:06:28 PM (2 years ago)
Author:
enrolchat
Message:

Release 1.1.1

Location:
enrol-chat/trunk
Files:
2 edited

Legend:

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

    r2602988 r2995729  
    44 * Plugin URI: https://enrol.chat/
    55 * Description: Create the best conversational chatbot for your website
    6  * Version: 1.1.0
     6 * Version: 1.1.1
    77 * Author: Virture Infotek Pte Ltd.
    88 * Author URI: http://mapview.in/
     
    4242            $enrolBotId = sanitize_text_field($_POST[$txtEnrolBotId]);
    4343           
    44             if(!preg_match("/^[a-zA-Z0-9]+$/",$enrolBotId) || strlen($enrolBotId) > 50){
     44            if(!preg_match("/^[a-zA-Z0-9.-]+$/",$enrolBotId) || strlen($enrolBotId) > 50){
    4545                echo '<div id="message" class="error fade notice"><p>Invalid chatbot code.</p></div>';
    4646            }
     
    159159       
    160160            ?><!--Start of Chatwidget Script-->
    161             <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>
     161            <script>(function(){var a=window;a.chatbsettings={gurl:"https://w.enrol.chat",pid:"<?php print($enrolBotId); ?>",lang:1};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+"/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>
    162162            <!--End of Chatwidget Script--><?php
    163163        }
  • enrol-chat/trunk/readme.txt

    r2602988 r2995729  
    44Tags: enrol chat, chatbot, live chat, ai bot, website chat.
    55Requires at least: 4.7
    6 Tested up to: 5.8.1
    7 Stable tag: 1.1.0
     6Tested up to: 6.4.1
     7Stable tag: 1.1.1
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    6464= 1.1.0 =
    6565Bug fixes
     66
     67= 1.1.1 =
     68Bug fixes
Note: See TracChangeset for help on using the changeset viewer.