Changeset 20909 for trunk/wp-admin/credits.php
- Timestamp:
- 05/25/2012 06:52:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/credits.php
r19712 r20909 18 18 $results = get_site_transient( 'wordpress_credits_' . $locale ); 19 19 20 if ( ! is_array( $results ) ) { 20 if ( ! is_array( $results ) 21 || ( isset( $results['data']['version'] ) && strpos( $wp_version, $results['data']['version'] ) !== 0 ) 22 ) { 21 23 $response = wp_remote_get( "http://api.wordpress.org/core/credits/1.0/?version=$wp_version&locale=$locale" ); 22 24
Note: See TracChangeset
for help on using the changeset viewer.