Plugin Directory

Changeset 3342552


Ignore:
Timestamp:
08/10/2025 10:12:34 PM (8 months ago)
Author:
SS88_UK
Message:

Two fixes

Location:
media-library-file-size/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • media-library-file-size/trunk/assets/js/media.js

    r3208212 r3342552  
    181181                if(tr) {
    182182
    183                     tr.querySelector('.SS88_MediaLibraryFileSize').innerHTML = post.html;
     183                    let tdContent = tr.querySelector('.SS88_MediaLibraryFileSize');
     184                    if(tdContent) tdContent.innerHTML = post.html;
    184185
    185186                }
  • media-library-file-size/trunk/readme.txt

    r3267893 r3342552  
    44Tags: file size, media library, image size, library size
    55Requires at least: 4.1
    6 Tested up to: 6.7
    7 Stable tag: 1.6.5
     6Tested up to: 6.8
     7Stable tag: 1.6.6
    88Requires PHP: 5.6
    99License: GPL2
     
    3333
    3434**Check out our other plugins:**
    35 * [Export Single Post Page](https://wordpress.org/plugins/single-post-page-export/) ✨
    36 * [Two Factor (2FA) Authentication via Email](https://wordpress.org/plugins/two-factor-2fa-via-email/) 🔒
    37 * [View User Metadata](https://wordpress.org/plugins/view-user-metadata/)
    38 * [Enable Turnstile (Cloudflare) for Gravity Forms](https://wordpress.org/plugins/enable-turnstile-cloudflare-for-gravity-forms/)
    39 * [Gravity Forms to FreeScout](https://ss88.us/plugins/gravity-forms-freescout?utm_campaign=OtherPlugins) ⭐️⭐️⭐️⭐️⭐️
     35
     36* ✨ [Export Single Post Page](https://wordpress.org/plugins/single-post-page-export/)
     37* 🔒 [Two Factor (2FA) Authentication via Email](https://wordpress.org/plugins/two-factor-2fa-via-email/)
     38* 🙍‍♂️ [View User Metadata](https://wordpress.org/plugins/view-user-metadata/)
     39* 🔠 [Enable Turnstile (Cloudflare) for Gravity Forms](https://wordpress.org/plugins/enable-turnstile-cloudflare-for-gravity-forms/)
     40* ⭐️⭐️⭐️⭐️⭐️ [Gravity Forms to FreeScout](https://ss88.us/plugins/gravity-forms-freescout?utm_campaign=OtherPlugins)
    4041
    4142== Installation ==
     
    6970
    7071== Changelog ==
     72
     73= 1.6.6 =
     74* Fix: innerHTML error
     75* Fix: reindex warning
    7176
    7277= 1.6.5 =
  • media-library-file-size/trunk/ss88-media-library-file-size.php

    r3254853 r3342552  
    105105
    106106        $returnData = [];
    107         $reindexMedia = isset($_POST['reindex']) ? true : false;
     107        $reindexMedia = (isset($_POST['reindex']) && $_POST['reindex'] == true) ? true : false;
    108108        $attachmentsPerBatch = 100;
    109109        $attachmentsPaged = 1;
Note: See TracChangeset for help on using the changeset viewer.