keycdn / cache-enabler

A lightweight caching plugin for WordPress that makes your website faster by generating static HTML files.
https://wordpress.org/plugins/cache-enabler/
123 stars 46 forks source link

update getting cache URL #266

Closed coreykn closed 3 years ago

coreykn commented 3 years ago

Update getting the cache URL in the Cache_Enabler_Disk::get_cache_url() method. We no longer need to allow a default value if the parameter given is empty due to the changes introduced in PR #251 (user_trailingslashit( home_url() ) can be called instead for the same result).

This updates what was originally added in PR #237.