Plugin Directory

Changeset 3313656


Ignore:
Timestamp:
06/18/2025 07:18:42 AM (9 months ago)
Author:
grandplugins
Message:

[Fix] Add nonce check for image sizes update ajax request

Location:
image-sizes-controller/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • image-sizes-controller/trunk/gpls-issl-images-subsizes-list.php

    r3217836 r3313656  
    99 * Text Domain:     image-sizes-controller
    1010 * Std Name:        gpls-issl-images-subsizes-list
    11  * Version:         1.0.9
     11 * Version:         1.0.10
    1212 *
    1313 * @package         Images_Subsize_List
  • image-sizes-controller/trunk/includes/ImageSizes.php

    r2960760 r3313656  
    432432     */
    433433    public function ajax_update_image_size() {
     434
     435        check_admin_referer( self::$plugin_info['name'] . '-ajax-image-sizes-nonce', 'nonce' );
     436
    434437        // 3) Check POST Data.
    435438        if ( ! empty( $_POST['subsizeName'] ) && ! empty( $_POST['width'] ) && ! empty( $_POST['height'] ) ) {
  • image-sizes-controller/trunk/readme.txt

    r3217836 r3313656  
    11===  Image Sizes Controller, Create Custom Image Sizes, Disable Image Sizes ===
    22Tags: image, images, big images, sizes, subsize, broken subsize, custom subsize, crop, remove subsize, create subsize
    3 Tested up to: 6.7
     3Tested up to: 6.8
    44Requires at least: 5.6
    55Requires PHP: 7.0
    6 Version: 1.0.9
    7 Stable Tag: 1.0.9
     6Version: 1.0.10
     7Stable Tag: 1.0.10
    88Contributors: GrandPlugins
    99Author: GrandPlugins
Note: See TracChangeset for help on using the changeset viewer.