mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 15:31:42 +01:00
Use correct variable, see #17384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ecc65d1f21
commit
9ddadbd830
@ -29,7 +29,7 @@ function wp_credits() {
|
||||
|
||||
$results = get_site_transient( 'wordpress_credits' );
|
||||
|
||||
if ( false === $people ) {
|
||||
if ( false === $results ) {
|
||||
$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 ) )
|
||||
|
Loading…
Reference in New Issue
Block a user