Making WordPress.org


Ignore:
Timestamp:
02/24/2016 09:10:27 PM (9 years ago)
Author:
coffee2code
Message:

Browse Happy: Use HTTPS for all supporting external links.

Only exceptions are Opera and Internet Explorer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/browsehappy.com/public_html/functions.php

    r2219 r2587  
    1313            'normalized' => 1, // just first number
    1414            'facebook' => 'googlechrome',
    15             'url' => 'http://www.google.com/chrome',
     15            'url' => 'https://www.google.com/chrome',
    1616            'info' => __( '“A fast new browser from Google. Try it now!”', 'browsehappy' ),
    1717        ),
     
    2222            'normalized' => 1.5, // include second number if non-zero
    2323            'facebook' => 'Firefox',
    24             'url' => 'http://www.firefox.com/',
     24            'url' => 'https://www.firefox.com/',
    2525            'info' => __( "“Your online security is Firefox's top priority. Firefox is free, and made to help you get the most out of the web.”", 'browsehappy' ),
    2626        ),
     
    3131            'normalized' => 1.5, // include second number if non-zero
    3232            'facebook' => false,
    33             'url' => 'http://www.apple.com/safari/',
     33            'url' => 'https://www.apple.com/safari/',
    3434            'info' => str_replace( 'and Windows ', '', __( '“Safari for Mac and Windows from Apple, the world’s most innovative browser.”', 'browsehappy' ) ),
    3535        ),
     
    8383    }
    8484
    85     $url = 'http://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&format=php&titles=Template:Latest_stable_software_release/';
     85    $url = 'https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&format=php&titles=Template:Latest_stable_software_release/';
    8686    $url .= $fragment;
    8787
     
    175175
    176176?>
    177 <p class="likebutton"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2F<?php echo $facebook_page; ?>&amp;layout=button_count&amp;show_faces=false&amp;width=172&amp;action=like&amp;font=lucida+grande&amp;colorscheme=light&amp;height=20" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:172px; height:20px;"></iframe></p>
     177<p class="likebutton"><iframe src="https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2F<?php echo $facebook_page; ?>&amp;layout=button_count&amp;show_faces=false&amp;width=172&amp;action=like&amp;font=lucida+grande&amp;colorscheme=light&amp;height=20" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:172px; height:20px;"></iframe></p>
    178178<?php
    179179}
Note: See TracChangeset for help on using the changeset viewer.