Make WordPress Core


Ignore:
Timestamp:
02/06/2012 08:54:01 PM (12 years ago)
Author:
ryan
Message:

Hide theme details by default. Props helenyhou, DH-Shredder. fixes #19853

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-themes-list-table.php

    r19811 r19840  
    163163    /* translators: 1: theme title, 2: theme version, 3: theme author */
    164164    printf( __( '%1$s %2$s by %3$s' ), $title, $version, $author ) ; ?></h3>
    165 <p class="description"><?php echo $description; ?></p>
     165
    166166<span class='action-links'><?php echo $actions ?></span>
     167<span class="separator hide-if-no-js">| </span><a href="#" class="theme-detail hide-if-no-js" tabindex='4'><?php _e('Details') ?></a>
     168<div class="themedetaildiv hide-if-js">
     169<p><?php echo $description; ?></p>
    167170    <?php if ( current_user_can( 'edit_themes' ) && $parent_theme ) {
    168171    /* translators: 1: theme title, 2:  template dir, 3: stylesheet_dir, 4: theme title, 5: parent_theme */ ?>
     
    174177<p><?php _e( 'Tags:' ); ?> <?php echo join( ', ', $tags ); ?></p>
    175178<?php endif; ?>
    176         <?php theme_update_available( $themes[$theme_name] ); ?>
    177179<?php endif; // end if not empty theme_name ?>
     180</div>
     181    <?php theme_update_available( $themes[$theme_name] ); ?>
    178182    </div>
    179183<?php } // end foreach $theme_names
Note: See TracChangeset for help on using the changeset viewer.