Plugin Directory

Changeset 3113394


Ignore:
Timestamp:
07/06/2024 06:55:47 AM (20 months ago)
Author:
collectchat
Message:

tagging version 2.4.4

Location:
collectchat
Files:
2 edited
7 copied

Legend:

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

    r3054681 r3113394  
    22/**
    33 * Plugin Name: Collect.chat - Chatbot
    4  * Version: 2.4.3
     4 * Version: 2.4.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.
     
    183183                'script' => array(),
    184184            );
    185 
     185           
    186186            if (current_user_can('unfiltered_html')) {
    187                 return wp_kses($input, $allowed_html); // Script sanitization for users with the unfiltered_html capability
     187                $input['script'] = wp_kses($input['script'], $allowed_html); // Script sanitization for users with the unfiltered_html capability
    188188            } else {
    189                 return wp_kses_post($input); // Sanitize all content for other users
    190             }
     189                $input['script'] = wp_kses_post($input['script']); // Sanitize all content for other users
     190            }
     191            return $input;
    191192        }
    192193
     
    196197
    197198            // register settings for sitewide script
    198             register_setting('collectchat-settings-group', 'collectchat-plugin-settings', 'collectchat_html_sanitize');
     199            register_setting('collectchat-settings-group', 'collectchat-plugin-settings', array( 'sanitize_callback' => array( $this, 'collectchat_html_sanitize') ));
    199200
    200201            add_settings_field('script', 'Script', 'trim', 'collectchat');
  • collectchat/tags/2.4.4/readme.txt

    r3054681 r3113394  
    1 === Collect.chat - Chatbot ⚡️ ===
     1=== Chatbot for WordPress by Collect.chat ⚡️ ===
    22Contributors: collectchat
    33Tags: chatbot, bot, chat bot, lead generation, chat widget
    44Requires at least: 4.5.0
    5 Tested up to: 6.5
    6 Stable tag: 2.4.3
     5Tested up to: 6.6
     6Stable tag: 2.4.4
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    436436= 2.4.3 =
    437437* Support for WordPress 6.5
     438
     439
     440= 2.4.4 =
     441* Support for WordPress 6.6
     442* Security fixes
  • collectchat/trunk/collect.php

    r3054681 r3113394  
    22/**
    33 * Plugin Name: Collect.chat - Chatbot
    4  * Version: 2.4.3
     4 * Version: 2.4.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.
     
    183183                'script' => array(),
    184184            );
    185 
     185           
    186186            if (current_user_can('unfiltered_html')) {
    187                 return wp_kses($input, $allowed_html); // Script sanitization for users with the unfiltered_html capability
     187                $input['script'] = wp_kses($input['script'], $allowed_html); // Script sanitization for users with the unfiltered_html capability
    188188            } else {
    189                 return wp_kses_post($input); // Sanitize all content for other users
    190             }
     189                $input['script'] = wp_kses_post($input['script']); // Sanitize all content for other users
     190            }
     191            return $input;
    191192        }
    192193
     
    196197
    197198            // register settings for sitewide script
    198             register_setting('collectchat-settings-group', 'collectchat-plugin-settings', 'collectchat_html_sanitize');
     199            register_setting('collectchat-settings-group', 'collectchat-plugin-settings', array( 'sanitize_callback' => array( $this, 'collectchat_html_sanitize') ));
    199200
    200201            add_settings_field('script', 'Script', 'trim', 'collectchat');
  • collectchat/trunk/readme.txt

    r3054681 r3113394  
    1 === Collect.chat - Chatbot ⚡️ ===
     1=== Chatbot for WordPress by Collect.chat ⚡️ ===
    22Contributors: collectchat
    33Tags: chatbot, bot, chat bot, lead generation, chat widget
    44Requires at least: 4.5.0
    5 Tested up to: 6.5
    6 Stable tag: 2.4.3
     5Tested up to: 6.6
     6Stable tag: 2.4.4
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    436436= 2.4.3 =
    437437* Support for WordPress 6.5
     438
     439
     440= 2.4.4 =
     441* Support for WordPress 6.6
     442* Security fixes
Note: See TracChangeset for help on using the changeset viewer.