Changeset 19840 for trunk/wp-admin/includes/theme-install.php
- Timestamp:
- 02/06/2012 08:54:01 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme-install.php
r19712 r19840 133 133 134 134 $name = wp_kses($theme->name, $themes_allowedtags); 135 $author = wp_kses($theme->author, $themes_allowedtags); 135 136 $desc = wp_kses($theme->description, $themes_allowedtags); 136 137 //if ( strlen($desc) > 30 ) … … 154 155 <img src='<?php echo esc_url($theme->screenshot_url); ?>' width='150' /> 155 156 </a> 156 <h3><?php echo $name ?></h3> 157 <h3><?php 158 /* translators: 1: theme name, 2: author name */ 159 printf( __( '%1$s <span>by %2$s</span>' ), $name, $author ); ?></h3> 157 160 <span class='action-links'><?php echo $actions ?></span> 161 <?php if ( $show_details ) { ?> 162 <span class="separator hide-if-no-js">| </span><a href="#theme_detail" class="theme-detail hide-if-no-js" tabindex='4'><?php _e('Details') ?></a> 163 <div class="themedetaildiv hide-if-js"> 158 164 <p><?php echo $desc ?></p> 159 <?php if ( $show_details ) { ?>160 <a href="#theme_detail" class="theme-detail hide-if-no-js" tabindex='4'><?php _e('Details') ?></a>161 <div class="themedetaildiv hide-if-js">162 165 <p><strong><?php _e('Version:') ?></strong> <?php echo wp_kses($theme->version, $themes_allowedtags) ?></p> 163 <p><strong><?php _e('Author:') ?></strong> <?php echo wp_kses($theme->author, $themes_allowedtags) ?></p>164 166 <?php if ( ! empty($theme->last_updated) ) : ?> 165 167 <p><strong><?php _e('Last Updated:') ?></strong> <span title="<?php echo $theme->last_updated ?>"><?php printf( __('%s ago'), human_time_diff(strtotime($theme->last_updated)) ) ?></span></p>
Note: See TracChangeset
for help on using the changeset viewer.