Changeset 10810 for trunk/wp-admin/includes/theme-install.php
- Timestamp:
- 03/18/2009 02:43:45 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/theme-install.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme-install.php
r10788 r10810 19 19 'tags' => true, 'num_ratings' => true 20 20 ); 21 21 22 22 23 23 /** … … 303 303 <p><strong><?php _e('Version:') ?></strong> <?php echo wp_kses($theme->version, $themes_allowedtags) ?></p> 304 304 <p><strong><?php _e('Author:') ?></strong> <?php echo wp_kses($theme->author, $themes_allowedtags) ?></p> 305 <?php if ( ! empty($theme->last_updated) ) : ?> 305 <?php if ( ! empty($theme->last_updated) ) : ?> 306 306 <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> 307 <?php endif; if ( ! empty($theme->requires) ) : ?> 308 <p><strong><?php _e('Requires WordPress Version:') ?></strong> <?php printf(__('%s or higher'), $theme->requires) ?></p> 309 <?php endif; if ( ! empty($theme->tested) ) : ?> 310 <p><strong><?php _e('Compatible up to:') ?></strong> <?php echo $theme->tested ?></p> 307 <?php endif; if ( ! empty($theme->requires) ) : ?> 308 <p><strong><?php _e('Requires WordPress Version:') ?></strong> <?php printf(__('%s or higher'), $theme->requires) ?></p> 309 <?php endif; if ( ! empty($theme->tested) ) : ?> 310 <p><strong><?php _e('Compatible up to:') ?></strong> <?php echo $theme->tested ?></p> 311 311 <?php endif; if ( !empty($theme->downloaded) ) : ?> 312 312 <p><strong><?php _e('Downloaded:') ?></strong> <?php printf(_n('%s time', '%s times', $theme->downloaded), number_format_i18n($theme->downloaded)) ?></p> … … 844 844 return new WP_Error('install_folder_exists', __('Folder already exists.'), $filelist[0] ); 845 845 } 846 846 847 847 apply_filters('install_feedback', __('Installing the theme')); 848 848 // Copy new version of theme into place.
Note: See TracChangeset
for help on using the changeset viewer.