BoldGrid / w3-total-cache

GNU General Public License v2.0
151 stars 81 forks source link

Fix Remove CSS/JS URL matching #911

Open cssjoe opened 2 days ago

cssjoe commented 2 days ago

There was an issue matching partial/relative URLs/URIs. I created a new static method instead of using array_intersect(). I also updated the array of "current_pages".

codecov-commenter commented 2 days ago

Codecov Report

Attention: Patch coverage is 0% with 25 lines in your changes missing coverage. Please review.

Project coverage is 0.90%. Comparing base (1eb968b) to head (35b359f).

Files Patch % Lines
Util_Environment.php 0.00% 19 Missing :warning:
UserExperience_Remove_CssJs_Mutator.php 0.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #911 +/- ## =========================================== - Coverage 0.90% 0.90% -0.01% - Complexity 19158 19168 +10 =========================================== Files 659 659 Lines 96470 96489 +19 =========================================== Hits 871 871 - Misses 95599 95618 +19 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.