using the protocol-relative url for resources in the header, footer and enqueued...
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 12 Jun 2017 14:57:30 +0000 (10:57 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 12 Jun 2017 14:59:16 +0000 (10:59 -0400)
ensuring that all of our resources use https if we can help it by omitting the http protocol from
the url

index.php
parts/header-meta.php

index 3f0fbc4..57ea048 100644 (file)
--- a/index.php
+++ b/index.php
@@ -37,7 +37,7 @@
         </div><!--End of off-canvas-->
         <?php wp_footer();?>
         <script charset="utf-8" type="text/javascript">var switchTo5x=true;</script>
-        <script charset="utf-8" type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
+        <script charset="utf-8" type="text/javascript" src="//w.sharethis.com/button/buttons.js"></script>
         <script charset="utf-8" type="text/javascript">stLight.options({"publisher":"wp.c3d3647e-de70-4780-b71d-6b739fad685a"});var st_type="wordpress4.3.1";</script>
     </body>
 </html>
\ No newline at end of file
index 326ace2..9868b54 100644 (file)
@@ -4,7 +4,7 @@
     <title><?php wp_title(); ?></title>
     <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css">
     <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri() ; ?>/favicon.ico">
-    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>
+    <link href='//fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>
     <?php wp_head(); ?>
     <script>
         var all_funds = <?php echo get_funds() ?>;