mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Make sure last_updated is set. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
68d8884d6d
commit
5c402dd266
@ -308,8 +308,9 @@ function display_theme($theme, $actions = null, $show_details = true) {
|
||||
<div id="themedetaildiv" class="hide-if-js">
|
||||
<p><strong><?php _e('Version:') ?></strong> <?php echo wp_kses($theme->version, $themes_allowedtags) ?></p>
|
||||
<p><strong><?php _e('Author:') ?></strong> <?php echo wp_kses($theme->author, $themes_allowedtags) ?></p>
|
||||
<?php if ( ! empty($theme->last_updated) ) : ?>
|
||||
<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>
|
||||
<?php if ( ! empty($theme->requires) ) : ?>
|
||||
<?php endif; if ( ! empty($theme->requires) ) : ?>
|
||||
<p><strong><?php _e('Requires WordPress Version:') ?></strong> <?php printf(__('%s or higher'), $theme->requires) ?></p>
|
||||
<?php endif; if ( ! empty($theme->tested) ) : ?>
|
||||
<p><strong><?php _e('Compatible up to:') ?></strong> <?php echo $theme->tested ?></p>
|
||||
|
Loading…
Reference in New Issue
Block a user