Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix minifyCSS() for Quoted URLs in Media.php #1516
Having reviewed the up to date repository I believe that a change to minifyCSS() is still warranted. The proposed modification will only call replaceByAbsoluteURL() where data:, http: or https: is not specified. This removed unnecessary calls to replaceByAbsoluteURL(). The modified regex is also slightly more efficient.
In addition replaceByAbsoluteURL() has been modified to correctly handle absolute addresses i.e. those beginning with /