Plugin Directory

Changeset 3403904


Ignore:
Timestamp:
11/27/2025 09:12:34 AM (4 months ago)
Author:
Smartsupp
Message:

Check unfiltered_html capability on custom code edit

Location:
smartsupp-live-chat
Files:
94 added
4 edited

Legend:

Unmodified
Added
Removed
  • smartsupp-live-chat/trunk/admin/class-smartsupp-admin.php

    r3402922 r3403904  
    155155                if ( ! isset( $_POST['code'] ) ) {
    156156                    return;
     157                }
     158                if ( ! current_user_can('unfiltered_html') ) {
     159                    $message = 'Not allowed';
     160                    break;
    157161                }
    158162                if ( ! isset( $_POST['_nonce'] ) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['_nonce'] ) ), 'smartsupp_update' ) ) {
  • smartsupp-live-chat/trunk/changelog.txt

    r3402922 r3403904  
    11*** Smartsupp – live chat, AI shopping assistant and chatbots Changelog ***
     2
     32025-11-27 - version 3.9.2
     4* Changed - Check unfiltered_html capability on custom code edit
    25
    362025-11-26 - version 3.9.1
  • smartsupp-live-chat/trunk/readme.txt

    r3402922 r3403904  
    66Tested up to: 6.8
    77Requires PHP: 5.3.2
    8 Stable tag: 3.9.1
     8Stable tag: 3.9.2
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    117117== Changelog ==
    118118
     119= 3.9.2 =
     120* Check unfiltered_html capability on custom code edit
     121
    119122= 3.9.1 =
    120123* Fix WordPress coding standards
  • smartsupp-live-chat/trunk/smartsupp.php

    r3402922 r3403904  
    1111 * Plugin URI:        http://www.smartsupp.com
    1212 * Description:       Smartsupp live chat, chatbots and AI is a powerful customer engagement solution that helps you be closer with your customers and sell more. The plugin will enable the chat widget on your website for live chat and chatbots. With Smartsupp you can also can use Email and Whatsapp channels in communicating with your customers. Optional API for advanced chat box modifications.
    13  * Version:           3.9.1
     13 * Version:           3.9.2
    1414 * Author:            Smartsupp
    1515 * Author URI:        http://www.smartsupp.com
Note: See TracChangeset for help on using the changeset viewer.