Plugin Directory

Changeset 3115004


Ignore:
Timestamp:
07/09/2024 12:50:59 PM (21 months ago)
Author:
aumkub
Message:

1.3.3

  • Restrict user has the capability to upload files
Location:
featured-image-generator
Files:
33 added
3 edited

Legend:

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

    r3112091 r3115004  
    55Requires at least: 4.6
    66Tested up to: 6.5.5
    7 Stable tag: 1.3.2
     7Stable tag: 1.3.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    148148* Compatible with 6.5.5 version.
    149149* Restrict user has the capability to edit posts
     150
     151= 1.3.3 =
     152* Restrict user has the capability to upload files
  • featured-image-generator/trunk/admin/class-featured-image-generator-admin.php

    r3112091 r3115004  
    576576    {
    577577        // Check if the user has the capability to edit posts
    578     if (!current_user_can('edit_posts')) {
     578    if (!current_user_can('upload_files')) {
    579579        wp_send_json_error('You do not have permission to perform this action.');
    580580        return;
  • featured-image-generator/trunk/featured-image-generator.php

    r3112091 r3115004  
    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.2
     19 * Version:           1.3.3
    2020 * Author:            DesignilCode
    2121 * Author URI:        https://www.designilcode.com
Note: See TracChangeset for help on using the changeset viewer.