From cb62ef2b58ab4c71e4a5d5385d52a056a9b12bcc Mon Sep 17 00:00:00 2001 From: markjaquith Date: Tue, 17 May 2011 17:14:08 +0000 Subject: [PATCH] Even better poka-yoke on Credits page. git-svn-id: http://svn.automattic.com/wordpress/trunk@17946 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/credits.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/credits.php b/wp-admin/credits.php index 17f52d6e2..1ecac1012 100644 --- a/wp-admin/credits.php +++ b/wp-admin/credits.php @@ -29,7 +29,7 @@ function wp_credits() { $results = get_site_transient( 'wordpress_credits' ); - if ( !is_array( $results ) ) { + if ( !is_array( $results ) || isset( $results['people'] ) ) { $response = wp_remote_get( "http://api.wordpress.org/core/credits/1.0/?version=$wp_version&locale=$locale" ); if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) )