WordPress.org

Make WordPress Core

Changeset 25927


Ignore:
Timestamp:
10/26/2013 03:06:17 AM (8 years ago)
Author:
nacin
Message:

About page: Replace 3.7 with the current version (3.7.1, etc.).

Normally this would be sprintf'd in but we don't want to change a string at this point.

fixes #25683 for the 3.7 branch.

Location:
branches/3.7/src/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.7/src/wp-admin/about.php

    r25886 r25927  
    2222<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
    2323
    24 <div class="about-text"><?php printf( __( 'Thank you for updating to WordPress 3.7! You might not notice a thing, and we&#8217;re okay with that.' ), $display_version ); ?></div>
     24<div class="about-text"><?php echo str_replace( '3.7', $display_version, __( 'Thank you for updating to WordPress 3.7! You might not notice a thing, and we&#8217;re okay with that.' ) ); ?></div>
    2525
    2626<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
  • branches/3.7/src/wp-admin/credits.php

    r25832 r25927  
    8282<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
    8383
    84 <div class="about-text"><?php printf( __( 'Thank you for updating to WordPress 3.7! You might not notice a thing, and we&#8217;re okay with that.' ), $display_version ); ?></div>
     84<div class="about-text"><?php echo str_replace( '3.7', $display_version, __( 'Thank you for updating to WordPress 3.7! You might not notice a thing, and we&#8217;re okay with that.' ) ); ?></div>
    8585
    8686<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
  • branches/3.7/src/wp-admin/freedoms.php

    r25832 r25927  
    2020<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
    2121
    22 <div class="about-text"><?php printf( __( 'Thank you for updating to WordPress 3.7! You might not notice a thing, and we&#8217;re okay with that.' ), $display_version ); ?></div>
     22<div class="about-text"><?php echo str_replace( '3.7', $display_version, __( 'Thank you for updating to WordPress 3.7! You might not notice a thing, and we&#8217;re okay with that.' ) ); ?></div>
    2323
    2424<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
Note: See TracChangeset for help on using the changeset viewer.