Plugin Directory

Changeset 3442601


Ignore:
Timestamp:
01/19/2026 02:16:25 PM (2 months ago)
Author:
SS88_UK
Message:

v1.6.8

Location:
media-library-file-size
Files:
10 added
2 edited

Legend:

Unmodified
Added
Removed
  • media-library-file-size/trunk/readme.txt

    r3342565 r3442601  
    44Tags: file size, media library, image size, library size
    55Requires at least: 4.1
    6 Tested up to: 6.8
    7 Stable tag: 1.6.7
     6Tested up to: 6.9
     7Stable tag: 1.6.8
    88Requires PHP: 5.6
    99License: GPL2
     
    7171== Changelog ==
    7272
     73= 1.6.8 =
     74* Tested up-to 6.9
     75* Administrator check for Indexes
     76
    7377= 1.6.7 =
    7478* WordPress 'release' loop fix
  • media-library-file-size/trunk/ss88-media-library-file-size.php

    r3342565 r3442601  
    22/*
    33Plugin Name: Media Library File Size
    4 Plugin URI: https://ss88.us/plugins/media-library-file-size?utm_source=wordpress&utm_medium=link&utm_campaign=mlfs
     4Plugin URI: https://neoboffin.com/plugins/media-library-file-size?utm_source=wordpress&utm_medium=link&utm_campaign=mlfs
    55Description: Creates a new column in your Media Library to show you the file (and collective images) size of files plus more!
    6 Version: 1.6.7
    7 Author: SS88 LLC
    8 Author URI: https://ss88.us/?utm_source=wordpress&utm_medium=link&utm_campaign=author_mlfs
     6Version: 1.6.8
     7Author: Neoboffin LLC
     8Author URI: https://neoboffin.com/?utm_source=wordpress&utm_medium=link&utm_campaign=author_mlfs
    99Text Domain: media-library-file-size
     10License: GPL2
     11License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1012*/
    1113
     14if ( ! defined( 'ABSPATH' ) ) exit;
     15
    1216class SS88_MediaLibraryFileSize {
    1317
    14     protected $version = '1.6.7';
     18    protected $version = '1.6.8';
    1519    protected $variantJSON = [];
    1620
     
    100104
    101105    function index() {
     106
     107        if(!current_user_can('manage_options')) wp_send_json_error(['error' => 'You need to be an administrator.']);
    102108
    103109        set_time_limit(600);
     
    190196    function indexCount() {
    191197
     198        if(!current_user_can('manage_options')) wp_send_json_error(['error' => 'You need to be an administrator.']);
     199
    192200        global $wpdb;
    193201
Note: See TracChangeset for help on using the changeset viewer.