picturefill.js.wp icon indicating copy to clipboard operation
picturefill.js.wp copied to clipboard

Add cdn support

Open tychay opened this issue 9 years ago • 0 comments

Allows picturefill javascript to be loaded from CDN. (Will not load by default or on admin pages).

Added two new filters (and updated read me):

wp_picturefill_use_cdn: (default false) on whether to use a cdn when available wp_picturefill_cdn_urlstring: (default http%s://cdnjs.cloudflare.com/ajax/libs/picturefill/%s/picturefill%s.js) which is a url string map to the recommended CDN for picturefill

tychay avatar Apr 24 '15 21:04 tychay