Fix inverse logic in [17946].

git-svn-id: https://develop.svn.wordpress.org/trunk@17948 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2011-05-17 17:36:58 +00:00
parent 9b7b96ba51
commit 8429516045
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ function wp_credits() {
$results = get_site_transient( 'wordpress_credits' );
if ( !is_array( $results ) || isset( $results['people'] ) ) {
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 ) )