Plugin Directory

Changeset 3112091


Ignore:
Timestamp:
07/04/2024 03:46:25 AM (21 months ago)
Author:
aumkub
Message:

1.3.2

  • Compatible with 6.5.5 version.
  • Restrict user has the capability to edit posts
Location:
featured-image-generator
Files:
33 added
3 edited

Legend:

Unmodified
Added
Removed
  • featured-image-generator/trunk/README.txt

    r2941659 r3112091  
    44Tags: featured, image, generator, unsplash, beautiful, upload, tool, photo, thumbnail, thumb, editor, edit, filter, resize, download, sizing, crop, commercial use, copyright-free, creatime commons, free, free images, images, media, pictures, royalty free, search, stock images, stock photos
    55Requires at least: 4.6
    6 Tested up to: 6.2.2
    7 Stable tag: 1.3.1
     6Tested up to: 6.5.5
     7Stable tag: 1.3.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    144144= 1.3.1 =
    145145* Compatible with 6.2.2 version.
     146
     147= 1.3.2 =
     148* Compatible with 6.5.5 version.
     149* Restrict user has the capability to edit posts
  • featured-image-generator/trunk/admin/class-featured-image-generator-admin.php

    r2364665 r3112091  
    575575    public static function fig_save_after_generate_image()
    576576    {
    577 
     577        // Check if the user has the capability to edit posts
     578    if (!current_user_can('edit_posts')) {
     579        wp_send_json_error('You do not have permission to perform this action.');
     580        return;
     581    }
     582       
     583        // Check if the nonce is valid
    578584        check_ajax_referer( 'fig_nonce', 'nonce' );
    579585
  • featured-image-generator/trunk/featured-image-generator.php

    r2941659 r3112091  
    1717 * Plugin URI:        https://designilcode.com
    1818 * Description:       Get beautiful photos from free license website like Unsplash or uploads your photo. You can customize images by inserting layers and texts. An export image for ready to use.
    19  * Version:           1.3.1
     19 * Version:           1.3.2
    2020 * Author:            DesignilCode
    2121 * Author URI:        https://www.designilcode.com
Note: See TracChangeset for help on using the changeset viewer.