Making WordPress.org

Changeset 835


Ignore:
Timestamp:
09/04/2014 07:40:47 PM (11 years ago)
Author:
coffee2code
Message:

Code Reference: display only the major version (X.Y) of the release in the header for the "New in" section

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-reference-landing.php

    r638 r835  
    3232                <div class="new-in-guide section two-columns clear">
    3333                    <div class="widget box gray">
    34                         <h3 class="widget-title"><?php $version = DevHub\get_current_version_term(); printf( __( 'New in WordPress %s:', 'wporg' ), $version->name ); ?></h3>
     34                        <h3 class="widget-title"><?php $version = DevHub\get_current_version_term(); printf( __( 'New in WordPress %s:', 'wporg' ), substr( $version->name, 0, -2 ) ); ?></h3>
    3535                        <div class="widget-content">
    3636                            <ul class="unordered-list no-bullets">
Note: See TracChangeset for help on using the changeset viewer.