Plugin Directory


Ignore:
Timestamp:
01/25/2024 08:01:10 PM (15 months ago)
Author:
10web
Message:

Fixed: Security issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ai-assistant-by-10web/trunk/ai-assistant-by-10web.php

    r2965997 r3027004  
    44 * Plugin URI: https://10web.io/ai-assistant/
    55 * Description: 10Web AI Assistant creates perfect, unique, and SEO-optimized content 10x faster. Use AI Assistant directly inside your WordPress environment.
    6  * Version: 1.0.18
     6 * Version: 1.0.19
    77 * Author: 10Web - AI Assistant team
    88 * Author URI: https://10web.io/
     
    9191          wp_send_json_error();
    9292      }
     93
     94      if(!current_user_can('install_plugins')){
     95        wp_send_json_error();
     96      }
     97
    9398      $plugin_zip_name = isset($_POST['plugin_zip_name']) ? sanitize_text_field($_POST['plugin_zip_name']) : '';
    9499      $plugin_zip_url = esc_url("https://downloads.wordpress.org/plugin/".$plugin_zip_name.".latest-stable.zip");
Note: See TracChangeset for help on using the changeset viewer.