Plugin Directory

Changeset 3115034


Ignore:
Timestamp:
07/09/2024 01:40:52 PM (20 months ago)
Author:
launchinteractive
Message:

2.9 Only remove css and js url vars for files generated by MMR

Location:
merge-minify-refresh/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • merge-minify-refresh/trunk/merge-minify-refresh.php

    r3087778 r3115034  
    44 * Plugin URI: https://wordpress.org/plugins/merge-minify-refresh
    55 * Description: Merge/Concatenate & Minify CSS & JS.
    6  * Version: 2.8
     6 * Version: 2.9
    77 * Author: Launch Interactive
    88 * Author URI: http://launchinteractive.com.au
     
    512512    public function remove_cssjs_ver($src)
    513513    {
    514         if($src && strpos($src,'?ver=') !== false)
     514        if(
     515            $src &&
     516            str_starts_with($src, MMR_CACHE_URL) && //only strip ver from MMR urls
     517            strpos($src,'?ver=') !== false)
    515518        {
    516519            $src = remove_query_arg('ver', $src);
  • merge-minify-refresh/trunk/readme.txt

    r3089082 r3115034  
    9999== Changelog ==
    100100
     101= 2.9 =
     102* Only remove css and js url vars for files generated by MMR
     103
    101104= 2.8 =
    102105* Change the way non UTF-8 files are detected for better support
Note: See TracChangeset for help on using the changeset viewer.