Making WordPress.org


Ignore:
Timestamp:
06/02/2015 09:17:54 PM (9 years ago)
Author:
johnjamesjacoby
Message:

BuddyPress.org: Use https scheme across relevant URLs.

Props netweb. Fixes #1069.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/front-page.php

    r442 r1644  
    2121                        echo '<ul>';
    2222                        foreach ( $terms as $term ) {
    23                             echo '<li><a href="' . esc_url( 'http://codex.buddypress.org/component/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>';
     23                            echo '<li><a href="' . esc_url( 'https://codex.buddypress.org/component/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>';
    2424                        }
    2525                        echo '</ul>';
     
    3939                        echo '<ul>';
    4040                        foreach ( $terms as $term ) {
    41                             echo '<li><a href="' . esc_url( 'http://codex.buddypress.org/version/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>';
     41                            echo '<li><a href="' . esc_url( 'https://codex.buddypress.org/version/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>';
    4242                        }
    4343                        echo '</ul>';
     
    5757                        echo '<ul>';
    5858                        foreach ( $terms as $term ) {
    59                             echo '<li><a href="' . esc_url( 'http://codex.buddypress.org/type/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>';
     59                            echo '<li><a href="' . esc_url( 'https://codex.buddypress.org/type/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ) . '">' . esc_html( $term->name ) . '</a></li>';
    6060                        }
    6161                        echo '</ul>';
     
    7575                        echo '<ul>';
    7676                        foreach ( $terms as $term ) {
    77                             echo '<li><a href="' . esc_url( 'http://codex.buddypress.org/context/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ). '">' . esc_html( $term->name ) . '</a></li>';
     77                            echo '<li><a href="' . esc_url( 'https://codex.buddypress.org/context/' . $term->slug ) . '" title="' . esc_attr( sprintf( __( 'View all pages for: %s' ), $term->name ) ). '">' . esc_html( $term->name ) . '</a></li>';
    7878                        }
    7979                        echo '</ul>';
     
    9393
    9494            $args         = array( 'order' => 'ASC', );
    95             $revisions    = wp_get_post_revisions( get_queried_object_id(), $args );   
     95            $revisions    = wp_get_post_revisions( get_queried_object_id(), $args );
    9696            $post_authors = array( $post->post_author => 1 );
    9797            foreach( (array)$revisions as $revision ) {
Note: See TracChangeset for help on using the changeset viewer.