Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/credits.php

    r19571 r21021  
    1818        $results = get_site_transient( 'wordpress_credits_' . $locale );
    1919
    20         if ( ! is_array( $results ) ) {
     20        if ( ! is_array( $results )
     21                || ( isset( $results['data']['version'] ) && strpos( $wp_version, $results['data']['version'] ) !== 0 )
     22        ) {
    2123                $response = wp_remote_get( "http://api.wordpress.org/core/credits/1.0/?version=$wp_version&locale=$locale" );
    2224
    … …  
    4547list( $display_version ) = explode( '-', $wp_version );
    4648
    47 include( './admin-header.php' );
     49include( ABSPATH . 'wp-admin/admin-header.php' );
    4850?>
    4951<div class="wrap about-wrap">
    … …  
    5153<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
    5254
    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>
    5456
    5557<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    … …  
    7476                /* translators: Url to the codex documentation on contributing to WordPress used on the credits page */
    7577                __( 'http://codex.wordpress.org/Contributing_to_WordPress' ) ) . '</p>';
    76         include( './admin-footer.php' );
     78        include( ABSPATH . 'wp-admin/admin-footer.php' );
    7779        exit;
    7880}
    … …  
    135137<?php
    136138
    137 include( './admin-footer.php' );
     139include( ABSPATH . 'wp-admin/admin-footer.php' );
    138140
    139141return;
    … …  
    158160__( 'External Libraries' );
    159161__( 'Icon Design' );
    160 
    161 ?>
Note: See TracChangeset for help on using the changeset viewer.