X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/e08b42e8ad054ec67522d7ac1aaae5dc68cb3d01..ac7339a398e6df50f722bc9616291ce5447d8e5e:/wp-admin/credits.php diff --git a/wp-admin/credits.php b/wp-admin/credits.php index 8624af03..4e160f4e 100644 --- a/wp-admin/credits.php +++ b/wp-admin/credits.php @@ -27,6 +27,7 @@ function wp_credits() { $results = get_site_transient( 'wordpress_credits_' . $locale ); if ( ! is_array( $results ) + || false !== strpos( $wp_version, '-' ) || ( isset( $results['data']['version'] ) && strpos( $wp_version, $results['data']['version'] ) !== 0 ) ) { $response = wp_remote_get( "http://api.wordpress.org/core/credits/1.1/?version=$wp_version&locale=$locale" ); @@ -81,7 +82,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

-
+
@@ -101,9 +102,9 @@ $credits = wp_credits(); if ( ! $credits ) { echo '

' . sprintf( __( 'WordPress is created by a worldwide team of passionate individuals. Get involved in WordPress.' ), - 'http://wordpress.org/about/', + 'https://wordpress.org/about/', /* translators: Url to the codex documentation on contributing to WordPress used on the credits page */ - __( 'http://codex.wordpress.org/Contributing_to_WordPress' ) ) . '

'; + __( 'https://codex.wordpress.org/Contributing_to_WordPress' ) ) . '

'; include( ABSPATH . 'wp-admin/admin-footer.php' ); exit; } @@ -146,7 +147,7 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) { echo '
  • ' . "\n\t"; echo ''; $size = 'compact' == $group_data['type'] ? '30' : '60'; - echo '' . esc_attr( $person_data[0] ) . '' . "\n\t"; + echo '' . esc_attr( $person_data[0] ) . '' . "\n\t"; echo '' . $person_data[0] . "\n\t"; if ( ! $compact ) echo '' . translate( $person_data[3] ) . "\n"; @@ -160,7 +161,7 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) { ?>

    Get involved in WordPress.' ), /* translators: URL to the Make WordPress 'Get Involved' landing page used on the credits page */ - __( 'http://make.wordpress.org/' ) ); ?>

    + __( 'https://make.wordpress.org/' ) ); ?>