WordPress.org

Making WordPress.org

Changeset 1254


Ignore:
Timestamp:
02/11/2015 07:08:22 PM (7 years ago)
Author:
obenland
Message:

WP.org Themes: Remove version information.

We'll find a better place for the last-updated information.

See #852.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content-single.php

    r1253 r1254  
    2424            <div class="hentry">
    2525                <h3 class="theme-name entry-title"><?php the_title(); ?></h3>
    26                 <span class="theme-version">
    27                     <?php
    28                         printf( __( 'Version: %s' ),
    29                             sprintf( '<abbr title="%1$s">%2$s</abbr>',
    30                                 esc_attr( sprintf( __( 'Last updated: %s' ), date_i18n( get_option( 'date_format' ), strtotime( $theme->last_updated ) ) ) ),
    31                                 $theme->version
    32                             )
    33                         );
    34                     ?>
    35                 </span>
    3626                <h4 class="theme-author"><?php printf( __( 'By %s' ), sprintf( '<a href="https://profiles.wordpress.org/%s"><span class="author">%s</span><a/>', $theme->author ) ); ?></h4>
    3727
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/style.css

    r1249 r1254  
    233233}
    234234
    235 .theme-version abbr {
    236     border-bottom: 1px dotted #666;
    237     cursor: help;
    238 }
    239 
    240235/* Single View */
    241236.single .theme-wrap {
     
    272267    margin: 10px 0 0;
    273268    line-height: 1.3;
    274 }
    275 
    276 .single .theme-wrap .theme-version {
    277     color: #999;
    278     font-size: 13px;
    279     font-weight: 400;
    280     float: none;
    281     display: inline-block;
    282     margin-left: 10px;
    283     -webkit-user-select: none;
    284     -moz-user-select: none;
    285     -ms-user-select: none;
    286     user-select: none;
    287269}
    288270
     
    797779}
    798780
    799 .hentry {
     781.page {
    800782    margin: 30px auto;
    801783}
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php

    r1253 r1254  
    3131                <div class="theme hentry">
    3232                    <h3 class="theme-name entry-title">{{{ data.name }}}</h3>
    33                     <span class="theme-version">
    34                         <?php printf( __( 'Version: %s' ), sprintf( '<abbr title="%1$s">%2$s</abbr>', esc_attr( sprintf( __( 'Last updated: %s' ), '{{ new Date(data.last_updated).toLocaleDateString() }}' ) ), '{{{ data.version }}}' ) ); ?>
    35                     </span>
    3633                    <h4 class="theme-author"><?php printf( __( 'By %s' ), '<a href="https://profiles.wordpress.org/{{ data.author }}"><span class="author">{{{ data.author }}}</span></a>' ); ?></h4>
    3734
Note: See TracChangeset for help on using the changeset viewer.