Making WordPress.org


Ignore:
Timestamp:
05/13/2016 10:08:41 PM (10 years ago)
Author:
ocean90
Message:

Trac: Replace protocol-relative URLs with https:// and change a few http links to use https.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/trac.wordpress.org/templates/site.html

    r2923 r3137  
    77    scripts_version = '62'
    88    project_slug = req.environ['HTTP_HOST'].split(':')[0].split('.')[0]
    9     wporg_endpoint = '//make.wordpress.org/' + project_slug + '/'
     9    wporg_endpoint = 'https://make.wordpress.org/' + project_slug + '/'
    1010    is_bug_gardener = 'TICKET_EDIT_DESCRIPTION' in perm(resource)
    1111    project_name = project['name'].replace('Trac', '').strip()
     
    1414
    1515    if project_slug == 'bbpress' :
    16         support_link = '//bbpress.org/forums/'
     16        support_link = 'https://bbpress.org/forums/'
    1717    elif project_slug == 'buddypress' :
    18         support_link = '//buddypress.org/support/topics/'
     18        support_link = 'https://buddypress.org/support/topics/'
    1919    else :
    20         support_link = '//wordpress.org/support/'
    21 
    22     profile_to_edit = '//wordpress.org/support/profile/'
     20        support_link = 'https://wordpress.org/support/'
     21
     22    profile_to_edit = 'https://wordpress.org/support/profile/'
    2323
    2424    # Fix https://meta.trac.wordpress.org/ticket/21
     
    4242    <xi:include href="wporg-head.html" />
    4343    <meta name="viewport" content="width=device-width" />
    44     <link rel='stylesheet' href='//s.w.org/wp-includes/css/dashicons.min.css?20150710' type='text/css' />
    45     <link rel="stylesheet" type="text/css" href="//s.w.org/style/trac/wp-trac.css?${scripts_version}" />
    46     <link py:if="req.session['authenticated']" rel="stylesheet" href="//s.w.org/wp-includes/css/wp-auth-check.css?ver=3.9-alpha" type="text/css" media="all" />
     44    <link rel='stylesheet' href='https://s.w.org/wp-includes/css/dashicons.min.css?20150710' type='text/css' />
     45    <link rel="stylesheet" type="text/css" href="https://s.w.org/style/trac/wp-trac.css?${scripts_version}" />
     46    <link py:if="req.session['authenticated']" rel="stylesheet" href="https://s.w.org/wp-includes/css/wp-auth-check.css?ver=3.9-alpha" type="text/css" media="all" />
    4747
    4848    <script py:attrs="select('@*')"></script>
     
    9292                    <strong>Do not report potential security vulnerabilities here.</strong><br />
    9393
    94                     See the <a href="//make.wordpress.org/core/handbook/reporting-security-vulnerabilities/">Security FAQ</a> and contact <a class="mail-link" href="mailto:security@wordpress.org">security@wordpress.org</a>.
     94                    See the <a href="https://make.wordpress.org/core/handbook/reporting-security-vulnerabilities/">Security FAQ</a> and contact <a class="mail-link" href="mailto:security@wordpress.org">security@wordpress.org</a>.
    9595                </p>
    9696            </py:choose>
     
    106106                <li>Please provide any additional information that you think we'd find useful. (OS and browser for UI defects, server environment for crashes, etc.)</li>
    107107            </ul>
    108             <p>You can search for existing tickets <a href="/search">here</a>. For more help, please see the <a href="//make.wordpress.org/core/handbook/reporting-bugs/">contributor handbook</a>.</p>
     108            <p>You can search for existing tickets <a href="/search">here</a>. For more help, please see the <a href="https://make.wordpress.org/core/handbook/reporting-bugs/">contributor handbook</a>.</p>
    109109
    110110        </div>
     
    127127                    <p><strong>Caution!</strong> This ticket was assigned to the Security component.</p>
    128128                    <p><strong>If this is a potential security vulnerability, DO NOT REPORT IT HERE.</strong></p>
    129                     <p>Instead, read the <a class="ext-link" href="//codex.wordpress.org/FAQ_Security"><span class="icon">&nbsp;</span>Security FAQ</a> and email us at <a class="mail-link" href="mailto:security@wordpress.org"><span class="icon">&nbsp;</span>security@wordpress.org</a>.</p>
     129                    <p>Instead, read the <a class="ext-link" href="https://codex.wordpress.org/FAQ_Security"><span class="icon">&nbsp;</span>Security FAQ</a> and email us at <a class="mail-link" href="mailto:security@wordpress.org"><span class="icon">&nbsp;</span>security@wordpress.org</a>.</p>
    130130                </div>
    131131            </py:if>
     
    233233            Notifications are sent to the email listed in <a href="${profile_to_edit}${req.session['sid']}">your WordPress.org profile</a><py:if test="req.session['email']"> (${req.session['email']})</py:if>.
    234234            <py:if test="notifications_enabled">
    235                 Notification preferences can be configured <a href="//${wporg_endpoint}notifications/">here</a>.
     235                Notification preferences can be configured <a href="https://${wporg_endpoint}notifications/">here</a>.
    236236            </py:if>
    237237        </div>
     
    267267
    268268    <!--! JavaScript -->
    269     <script src="//s.w.org/style/trac/jquery.caret.min.js?ver=2015-02-01"></script>
    270     <script src="//s.w.org/style/trac/jquery.atwho.min.js?ver=1.0.1"></script>
    271     <script src="//s.w.org/style/trac/wp-trac.js?${scripts_version}"></script>
     269    <script src="https://s.w.org/style/trac/jquery.caret.min.js?ver=2015-02-01"></script>
     270    <script src="https://s.w.org/style/trac/jquery.atwho.min.js?ver=1.0.1"></script>
     271    <script src="https://s.w.org/style/trac/wp-trac.js?${scripts_version}"></script>
    272272
    273273    <!--! Check for security buzzwords on new tickets -->
    274     <script py:if="req.environ['PATH_INFO'] == '/newticket'" src="//s.w.org/style/trac/trac-security.js?${scripts_version}"></script>
     274    <script py:if="req.environ['PATH_INFO'] == '/newticket'" src="https://s.w.org/style/trac/trac-security.js?${scripts_version}"></script>
    275275
    276276    <!--! New ticket possibly related tickets for Core Trac -->
    277     <script py:if="req.environ['PATH_INFO'] == '/newticket' and project_slug == 'core'" src="//s.w.org/style/trac/trac-search.js?${scripts_version}"></script>
     277    <script py:if="req.environ['PATH_INFO'] == '/newticket' and project_slug == 'core'" src="https://s.w.org/style/trac/trac-search.js?${scripts_version}"></script>
    278278
    279279    <!--! Analytics for Core Trac -->
     
    297297            <div id="wp-auth-check">
    298298                <div class="wp-auth-check-close" tabindex="0" title="Close"></div>
    299                 <div class="wp-auth-fallback"><p><b class="wp-auth-fallback-expired" tabindex="0">Session expired</b></p><p><a href="//wordpress.org/support/bb-login.php" target="_blank">Please log in again.</a> The login page will open in a new window. After logging in you can close it and return to this page.</p>
     299                <div class="wp-auth-fallback"><p><b class="wp-auth-fallback-expired" tabindex="0">Session expired</b></p><p><a href="https://wordpress.org/support/bb-login.php" target="_blank">Please log in again.</a> The login page will open in a new window. After logging in you can close it and return to this page.</p>
    300300                </div>
    301301            </div>
Note: See TracChangeset for help on using the changeset viewer.