Plugin Directory

Changeset 3122825


Ignore:
Timestamp:
07/21/2024 08:30:57 PM (21 months ago)
Author:
kunalnagar
Message:

Update to version 3.11.2 from GitHub

Location:
custom-404-pro
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • custom-404-pro/tags/3.11.2/admin/AdminClass.php

    r3122823 r3122825  
    5656        if ( current_user_can( 'administrator' ) ) {
    5757            if ( array_key_exists( 'c4pmessage', $_REQUEST ) ) {
    58                 $message = urldecode( sanitize_text_field( $_REQUEST['c4pmessage'] ) );
     58                $message = esc_html( urldecode( sanitize_text_field( $_REQUEST['c4pmessage'] ) ) );
    5959                if ( array_key_exists( 'c4pmessageType', $_REQUEST ) ) {
    60                     $messageType = sanitize_text_field( $_REQUEST['c4pmessageType'] );
     60                    $messageType = esc_html( sanitize_text_field( $_REQUEST['c4pmessageType'] ) );
    6161                }
    6262                $html .= '<div class="notice notice-' . $messageType . ' is-dismissible">';
  • custom-404-pro/tags/3.11.2/custom-404-pro.php

    r3122823 r3122825  
    55Plugin URI: https://wordpress.org/plugins/custom-404-pro/
    66Description: Override the default 404 page with any page or a custom URL from the Admin Panel.
    7 Version: 3.11.1
     7Version: 3.11.2
    88Author: Kunal Nagar
    99Author URI: https://www.kunalnagar.in
  • custom-404-pro/tags/3.11.2/readme.txt

    r3122823 r3122825  
    55Requires at least: 3.0.1
    66Tested up to: 6.5
    7 Stable tag: 3.11.1
     7Stable tag: 3.11.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5555
    5656== Changelog ==
     57
     58= 3.11.2 =
     59* Fix vuln in admin notices
    5760
    5861= 3.11.1 =
  • custom-404-pro/trunk/admin/AdminClass.php

    r3122823 r3122825  
    5656        if ( current_user_can( 'administrator' ) ) {
    5757            if ( array_key_exists( 'c4pmessage', $_REQUEST ) ) {
    58                 $message = urldecode( sanitize_text_field( $_REQUEST['c4pmessage'] ) );
     58                $message = esc_html( urldecode( sanitize_text_field( $_REQUEST['c4pmessage'] ) ) );
    5959                if ( array_key_exists( 'c4pmessageType', $_REQUEST ) ) {
    60                     $messageType = sanitize_text_field( $_REQUEST['c4pmessageType'] );
     60                    $messageType = esc_html( sanitize_text_field( $_REQUEST['c4pmessageType'] ) );
    6161                }
    6262                $html .= '<div class="notice notice-' . $messageType . ' is-dismissible">';
  • custom-404-pro/trunk/custom-404-pro.php

    r3122823 r3122825  
    55Plugin URI: https://wordpress.org/plugins/custom-404-pro/
    66Description: Override the default 404 page with any page or a custom URL from the Admin Panel.
    7 Version: 3.11.1
     7Version: 3.11.2
    88Author: Kunal Nagar
    99Author URI: https://www.kunalnagar.in
  • custom-404-pro/trunk/readme.txt

    r3122823 r3122825  
    55Requires at least: 3.0.1
    66Tested up to: 6.5
    7 Stable tag: 3.11.1
     7Stable tag: 3.11.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5555
    5656== Changelog ==
     57
     58= 3.11.2 =
     59* Fix vuln in admin notices
    5760
    5861= 3.11.1 =
Note: See TracChangeset for help on using the changeset viewer.