Changeset 2751965
- Timestamp:
- 07/05/2022 08:42:21 AM (4 years ago)
- Location:
- querlo-chatbots
- Files:
-
- 4 edited
- 3 copied
-
tags/1.2.4 (copied) (copied from querlo-chatbots/trunk)
-
tags/1.2.4/public-site/Querlo_PublicSite.php (modified) (1 diff)
-
tags/1.2.4/querlo.php (copied) (copied from querlo-chatbots/trunk/querlo.php) (2 diffs)
-
tags/1.2.4/readme.txt (copied) (copied from querlo-chatbots/trunk/readme.txt) (2 diffs)
-
trunk/public-site/Querlo_PublicSite.php (modified) (1 diff)
-
trunk/querlo.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
querlo-chatbots/tags/1.2.4/public-site/Querlo_PublicSite.php
r2738517 r2751965 141 141 'data-pos-y' => true, 142 142 'data-new' => true, 143 'data-intro-txt' => true, 143 144 'data-speaker-img' => true, 144 145 'data-speaker-name' => true, -
querlo-chatbots/tags/1.2.4/querlo.php
r2751782 r2751965 5 5 * Tags: support chat, virtual assistant, customer support chat, customer chat plugin, chat plugin, messenger, chat, Querlo chatbot, chatbot, live chat, chatbot, chat plugin, customer chat plugin, live chat plugin 6 6 * Description: Embed and manage Querlo chatbots on wordpress. 7 * Version: 1.2. 37 * Version: 1.2.4 8 8 * Author: Querlo 9 9 * Author URI: http://www.querlo.com … … 265 265 /////////////////////////////////////////////////////////////////// 266 266 267 //268 // Print the JavaScript code to be added to the page head269 //270 public function AddJavaScriptToPage ()271 {272 // Ignore the backend (admin pages)273 if (is_admin())274 return;275 276 // Read plugin settings from DB (falling back to defaults)277 $settings = $this->GetDbSettings ();278 279 // Plugin configured?280 if (empty($settings['embed']))281 {282 return;283 }284 285 // Build the output string286 $output = $settings['embed'];287 // $output = 'ciao';288 289 $allowed_html = array(290 'script' => array(291 'src' => true,292 'async' => true,293 ),294 'div' => array(295 'id' => true,296 'class' => true,297 'data-id' => true,298 'data-pos-x' => true,299 'data-pos-y' => true,300 'data-new' => true,301 'data-speaker-img' => true,302 'data-speaker-name' => true,303 'data-intro-txt' => true,304 'data-referrer' => true,305 'data-main-color' => true,306 'data-delay' => true,307 'data-height' => true,308 'data-width' => true,309 'data-template' => true,310 )311 );312 echo wp_kses($output, $allowed_html);313 }314 267 315 268 // -
querlo-chatbots/tags/1.2.4/readme.txt
r2751782 r2751965 5 5 Tested up to: 6.0 6 6 Requires PHP: >= 5.6 7 Stable tag: 1.2. 37 Stable tag: 1.2.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 43 43 = 1.2.3 = 44 44 * Minor fixes. 45 = 1.2.4 = 46 * Minor fixes. -
querlo-chatbots/trunk/public-site/Querlo_PublicSite.php
r2738517 r2751965 141 141 'data-pos-y' => true, 142 142 'data-new' => true, 143 'data-intro-txt' => true, 143 144 'data-speaker-img' => true, 144 145 'data-speaker-name' => true, -
querlo-chatbots/trunk/querlo.php
r2751782 r2751965 5 5 * Tags: support chat, virtual assistant, customer support chat, customer chat plugin, chat plugin, messenger, chat, Querlo chatbot, chatbot, live chat, chatbot, chat plugin, customer chat plugin, live chat plugin 6 6 * Description: Embed and manage Querlo chatbots on wordpress. 7 * Version: 1.2. 37 * Version: 1.2.4 8 8 * Author: Querlo 9 9 * Author URI: http://www.querlo.com … … 265 265 /////////////////////////////////////////////////////////////////// 266 266 267 //268 // Print the JavaScript code to be added to the page head269 //270 public function AddJavaScriptToPage ()271 {272 // Ignore the backend (admin pages)273 if (is_admin())274 return;275 276 // Read plugin settings from DB (falling back to defaults)277 $settings = $this->GetDbSettings ();278 279 // Plugin configured?280 if (empty($settings['embed']))281 {282 return;283 }284 285 // Build the output string286 $output = $settings['embed'];287 // $output = 'ciao';288 289 $allowed_html = array(290 'script' => array(291 'src' => true,292 'async' => true,293 ),294 'div' => array(295 'id' => true,296 'class' => true,297 'data-id' => true,298 'data-pos-x' => true,299 'data-pos-y' => true,300 'data-new' => true,301 'data-speaker-img' => true,302 'data-speaker-name' => true,303 'data-intro-txt' => true,304 'data-referrer' => true,305 'data-main-color' => true,306 'data-delay' => true,307 'data-height' => true,308 'data-width' => true,309 'data-template' => true,310 )311 );312 echo wp_kses($output, $allowed_html);313 }314 267 315 268 // -
querlo-chatbots/trunk/readme.txt
r2751782 r2751965 5 5 Tested up to: 6.0 6 6 Requires PHP: >= 5.6 7 Stable tag: 1.2. 37 Stable tag: 1.2.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 43 43 = 1.2.3 = 44 44 * Minor fixes. 45 = 1.2.4 = 46 * Minor fixes.
Note: See TracChangeset
for help on using the changeset viewer.