X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/256a3b381f63716209b3527d0a14442ae570c283..9e77185fafaf4e60e2b73821e0e4b9b1a11fb85f:/wp-admin/credits.php?ds=sidebyside diff --git a/wp-admin/credits.php b/wp-admin/credits.php index 8624af03..3d2e8a58 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,7 +102,7 @@ $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' ) ) . '

'; include( ABSPATH . 'wp-admin/admin-footer.php' ); @@ -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/' ) ); ?>