Oops. Credits API version remain unchanged. see #17518.
git-svn-id: https://develop.svn.wordpress.org/trunk@18163 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a019dffcbb
commit
942fb3838a
@ -51,7 +51,7 @@ function wp_credits() {
|
||||
$results = get_site_transient( 'wordpress_credits_' . $locale );
|
||||
|
||||
if ( ! is_array( $results ) ) {
|
||||
$response = wp_remote_get( "http://api.wordpress.org/core/credits/1.1/?version=$wp_version&locale=$locale" );
|
||||
$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 ) )
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user