Changeset 31110
- Timestamp:
- 01/09/2015 06:20:08 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r31090 r31110 440 440 echo "</div>\n"; 441 441 442 $date_format = __( 'M j, Y @ G:i' ); 443 $last_updated_timestamp = strtotime( $api->last_updated ); 442 444 ?> 443 445 <div id="<?php echo $_tab; ?>-content" class='<?php echo $_with_banner; ?>'> … … 449 451 <li><strong><?php _e( 'Author:' ); ?></strong> <?php echo links_add_target( $api->author, '_blank' ); ?></li> 450 452 <?php } if ( ! empty( $api->last_updated ) ) { ?> 451 <li><strong><?php _e( 'Last Updated:' ); ?></strong> <span title="<?php echo $api->last_updated; ?>">452 <?php printf( __( '%s ago' ), human_time_diff( strtotime( $api->last_updated )) ); ?>453 <li><strong><?php _e( 'Last Updated:' ); ?></strong> <span title="<?php echo esc_attr( date_i18n( $date_format, $last_updated_timestamp ) ); ?>"> 454 <?php printf( __( '%s ago' ), human_time_diff( $last_updated_timestamp ) ); ?> 453 455 </span></li> 454 456 <?php } if ( ! empty( $api->requires ) ) { ?>
Note: See TracChangeset
for help on using the changeset viewer.