Closed TimidRobot closed 2 years ago
Remove hardcoded CloudFront CDN (use default Cloudflare CDN)
https://github.com/creativecommons/commoners/blob/1cd602ca206294f57ae61c91e7c0f1b9d7b617f7/themes/cc-commoners/header.php#L34
Update source
index 7cabbd2..75a69a3 100644 --- themes/cc-commoners/header.php +++ themes/cc-commoners/header.php @@ -31,7 +31,7 @@ <?php //if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?> <?php wp_head(); ?> - <link rel='stylesheet' id='cc-fontello-css' href='https://d15omoko64skxi.cloudfront.net/wp-content/themes/cc/fonts/fontello/css/cc-fontello.css?ver=4.9.1' type='text/css' media='all' /> + <link rel='stylesheet' id='cc-fontello-css' href='https://creativecommons.org/wp-content/themes/cc/fonts/fontello/css/cc-fontello.css?ver=4.9.1' type='text/css' media='all' /> </head> <body <?php body_class(); ?> >
Description
Remove hardcoded CloudFront CDN (use default Cloudflare CDN)
Reproduction
https://github.com/creativecommons/commoners/blob/1cd602ca206294f57ae61c91e7c0f1b9d7b617f7/themes/cc-commoners/header.php#L34
Expectation
Update source
Additional context