diff --git a/wp-admin/credits.php b/wp-admin/credits.php index 8624af031d..950332057c 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" );