Plugin Directory

Changeset 3460985


Ignore:
Timestamp:
02/13/2026 06:31:55 PM (3 weeks ago)
Author:
collectchat
Message:

Release 2.4.9

Location:
collectchat
Files:
11 added
2 edited

Legend:

Unmodified
Added
Removed
  • collectchat/trunk/collect.php

    r3404657 r3460985  
    22/**
    33 * Plugin Name: Collect.chat - Chatbot
    4  * Version: 2.4.8
     4 * Version: 2.4.9
    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.
     
    327327        }
    328328
     329        // only users with unfiltered_html capability can save scripts
     330        if (!current_user_can('unfiltered_html')) return $post_id;
     331
    329332        $current_data = get_post_meta($post_id, '_inpost_head_script', true);
    330333
     
    384387                    } else {
    385388                        if (current_user_can('unfiltered_html')) {
    386                             $arr[$i] = wp_kses($v, $allowed_html); // Script sanitization for users with the unfiltered_html capability
     389                            $arr[$i] = wp_kses($v, $allowed_html);
    387390                        } else {
    388                             return wp_kses_post($v); // Sanitize all content for other users
     391                            $arr[$i] = wp_kses_post($v);
    389392                        }
    390393                    }
  • collectchat/trunk/readme.txt

    r3404657 r3460985  
    44Requires at least: 4.5.0
    55Tested up to: 6.9
    6 Stable tag: 2.4.8
     6Stable tag: 2.4.9
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    454454* Bug fixes
    455455
     456= 2.4.9 =
     457* Security fix: Stored XSS vulnerability remediation
     458* Enforce server-side capability checks for script meta fields
     459
    456460= 2.4.8 =
    457461* Support for WordPress 6.9
Note: See TracChangeset for help on using the changeset viewer.