Changeset 2602540
- Timestamp:
- 09/21/2021 05:20:36 PM (4 years ago)
- Location:
- enrol-chat/trunk
- Files:
-
- 2 edited
-
enrol-chat.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
enrol-chat/trunk/enrol-chat.php
r2601545 r2602540 4 4 * Plugin URI: https://enrol.chat/ 5 5 * Description: Create the best conversational chatbot for your website 6 * Version: 1. 06 * Version: 1.1 7 7 * Author: Virture Infotek Pte Ltd. 8 8 * Author URI: http://mapview.in/ … … 28 28 'enrol-chat', 29 29 'ecbw_options_page_html', 30 plugin_dir_url(__FILE__) . ' assets/enrol_icon.png'30 plugin_dir_url(__FILE__) . 'images/ecbw_icon.png' 31 31 ); 32 32 } … … 151 151 function ecbw_chat_script() { 152 152 153 include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 154 153 155 $enrolBotId = esc_js(get_option('enrol_bot_id')); 154 156 155 if(!empty($enrolBotId)){ 157 //if(!empty($enrolBotId)){ 158 if(!empty($enrolBotId) && is_plugin_active('enrol-chat/enrol-chat.php')){ 159 156 160 ?><!--Start of Chatwidget Script--> 157 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> -
enrol-chat/trunk/readme.txt
r2602532 r2602540 42 42 * Initial beta release 43 43 44 = 1.0.1 = 45 * Initial release 46 47 = 1.1 = 48 * Initial release 49 44 50 == Upgrade Notice == 45 51 46 52 = 1.0 = 47 53 Initial beta release 54 55 = 1.0.1 = 56 Initial release 57 58 = 1.1 = 59 Initial release
Note: See TracChangeset
for help on using the changeset viewer.