Plugin Directory

Changeset 3139899


Ignore:
Timestamp:
08/22/2024 05:14:51 PM (19 months ago)
Author:
levantoan
Message:

update 1.2.6

Location:
devvn-image-hotspot
Files:
32 added
3 edited

Legend:

Unmodified
Added
Removed
  • devvn-image-hotspot/trunk/admin/inc/add_shortcode_devvn_ihotspot.php

    r3136703 r3139899  
    1717
    1818    if(!$data_post){
    19         $data_post = maybe_unserialize(get_post_field('post_content', $idPost));
     19        $post_content = get_post_field('post_content', $idPost);
     20        if ( is_serialized( $post_content ) ) {
     21            $data_post = @unserialize( trim( $post_content ), array('allowed_classes' => false));
     22        }else {
     23            $data_post = $post_content;
     24        }
    2025    }
    2126       
  • devvn-image-hotspot/trunk/devvn-image-hotspot.php

    r3136703 r3139899  
    55Description: Image Hotspot help you add hotspot to your images.
    66Author: Le Van Toan
    7 Version: 1.2.5
     7Version: 1.2.6
    88Author URI: https://levantoan.com/
    99Text Domain: devvn-image-hotspot
     
    3030defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
    3131
    32 define('DEVVN_IHOTSPOT_VER', '1.2.5');
     32define('DEVVN_IHOTSPOT_VER', '1.2.6');
    3333define('DEVVN_IHOTSPOT_DEV_MOD', true);
    3434
     
    105105
    106106    if(!$data_post){
    107         $data_post = maybe_unserialize( $post->post_content );
     107        $post_content = $post->post_content;
     108        if ( is_serialized( $post_content ) ) {
     109            $data_post = @unserialize( trim( $post_content ), array('allowed_classes' => false));
     110        }else {
     111            $data_post = $post_content;
     112        }
    108113    }
    109114
  • devvn-image-hotspot/trunk/readme.txt

    r3136703 r3139899  
    55Requires at least: 4.3
    66Tested up to: 6.6.1
    7 Stable tag: 1.2.5
     7Stable tag: 1.2.6
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0
     
    5050
    5151For more information, see [Releases](https://levantoan.com/devvn-image-hotspot).
     52
     53= 1.2.6 - 23/08/2024 =
     54
     55* Add allowed_classes => false to unserialize. As suggested by "Michelle Porter - Wordfence Web Application Vulnerability Analyst". Many thanks to Michelle Porter
    5256
    5357= 1.2.5 - 16/08/2024 =
Note: See TracChangeset for help on using the changeset viewer.