Plugin Directory

Changeset 3458349


Ignore:
Timestamp:
02/10/2026 07:18:52 PM (8 weeks ago)
Author:
creatorcow
Message:

Release 1.0.3

Location:
mediamoo-for-spaces
Files:
4806 added
3 edited

Legend:

Unmodified
Added
Removed
  • mediamoo-for-spaces/trunk/loader.php

    r3457654 r3458349  
    88 * Plugin URI: https://wordpress.org/plugins/mediamoo-for-spaces/
    99 * Description: MediaMoo For Spaces, syncs your media library with DigitalOcean Spaces Container automatically.
    10  * Version: 1.0.2
     10 * Version: 1.0.3
    1111 * Author: creatorcow
    1212 * Author URI: https://creatorcow.com
  • mediamoo-for-spaces/trunk/mediamoo_dos_class.php

    r3457654 r3458349  
    187187
    188188    $upload_dir = wp_upload_dir();
    189     $local_baseurl = $upload_dir['baseurl'];
     189    $local_baseurl = rtrim($upload_dir['baseurl'], '/');
    190190
    191191    $cdn_base = rtrim($this->cdn_url, '/');
     
    203203
    204204    $upload_dir = wp_upload_dir();
    205     $local_baseurl = $upload_dir['baseurl'];
     205    $local_baseurl = rtrim($upload_dir['baseurl'], '/');
    206206
    207207    $cdn_base = rtrim($this->cdn_url, '/');
  • mediamoo-for-spaces/trunk/readme.txt

    r3457657 r3458349  
    44Requires at least: 5.4
    55Tested up to: 6.9.1
    6 Stable tag: 1.0.2
     6Stable tag: 1.0.3
    77Requires PHP: 7.4
    88License: MIT
     
    6060
    6161== Changelog ==
     62
     63= 1.0.3 =
     64* Fixed responsive image srcset URLs missing a forward slash between the storage folder and the file path. Image src attributes were unaffected.
     65
    6266= 1.0.2 =
    63 * ELEMENTOR COMPATIBILITY FIX  - Replaced global `upload_dir` filter with attachment-level `wp_get_attachment_url` and `wp_calculate_image_srcset` filters. The global `upload_dir` filter was rewriting `wp_upload_dir()['baseurl']` for ALL callers, including Elementor, which generates CSS files in `wp-content/uploads/elementor/`. Elementor's CSS URLs were being rewritten to point to Spaces CDN where the files never existed, breaking site styling. The new approach only rewrites URLs for actual WordPress media attachments, leaving Elementor and other third-party plugin paths on the local server.
     67* Fixed compatibility issue with Elementor and other plugins that generate files in wp-content/uploads/. CDN URL rewriting now only applies to media library attachments, no longer affecting plugin-generated CSS/JS file URLs.
    6468
    6569= 1.0.1 =
Note: See TracChangeset for help on using the changeset viewer.