Changes in trunk/wp-admin/credits.php [19571:21021]
- File:
-
- 1 edited
-
trunk/wp-admin/credits.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/credits.php
r19571 r21021 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 … … 45 47 list( $display_version ) = explode( '-', $wp_version ); 46 48 47 include( './admin-header.php' );49 include( ABSPATH . 'wp-admin/admin-header.php' ); 48 50 ?> 49 51 <div class="wrap about-wrap"> … … 51 53 <h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1> 52 54 53 <div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! Using WordPress %s will improve your looks, personality, and web publishing experience. Okay, just the last one, but still. :)' ), $display_version ); ?></div>55 <div class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s is already making your website better, faster, and more attractive, just like you!' ), $display_version ); ?></div> 54 56 55 57 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> … … 74 76 /* translators: Url to the codex documentation on contributing to WordPress used on the credits page */ 75 77 __( 'http://codex.wordpress.org/Contributing_to_WordPress' ) ) . '</p>'; 76 include( './admin-footer.php' );78 include( ABSPATH . 'wp-admin/admin-footer.php' ); 77 79 exit; 78 80 } … … 135 137 <?php 136 138 137 include( './admin-footer.php' );139 include( ABSPATH . 'wp-admin/admin-footer.php' ); 138 140 139 141 return; … … 158 160 __( 'External Libraries' ); 159 161 __( 'Icon Design' ); 160 161 ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)