WordPress.org

Make WordPress Core

Changeset 10674


Ignore:
Timestamp:
02/28/09 20:09:09 (6 years ago)
Author:
ryan
Message:

Make sure last_updated is set. see #8652

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/theme-install.php

    r10669 r10674  
    309309<p><strong><?php _e('Version:') ?></strong> <?php echo wp_kses($theme->version, $themes_allowedtags) ?></p> 
    310310<p><strong><?php _e('Author:') ?></strong> <?php echo wp_kses($theme->author, $themes_allowedtags) ?></p> 
     311<?php if ( ! empty($theme->last_updated) ) : ?>  
    311312<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> 
    312 <?php if ( ! empty($theme->requires) ) : ?>           
     313<?php endif; if ( ! empty($theme->requires) ) : ?>            
    313314<p><strong><?php _e('Requires WordPress Version:') ?></strong> <?php printf(__('%s or higher'), $theme->requires) ?></p>          
    314315<?php endif; if ( ! empty($theme->tested) ) : ?>          
Note: See TracChangeset for help on using the changeset viewer.