Changeset 6408
- Timestamp:
- 01/20/2018 05:14:31 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-meta.php
r6406 r6408 44 44 <li> 45 45 <?php 46 $mod efied_time = get_post_modified_time();46 $modified_time = get_post_modified_time(); 47 47 48 48 // Fallback for approved plugins that are not published yet. 49 if ( $mod efied_time < 0 ) {50 $mod efied_time = get_post_time();49 if ( $modified_time < 0 ) { 50 $modified_time = get_post_time(); 51 51 } 52 52 … … 54 54 __( 'Last updated: %s', 'wporg-plugins' ), 55 55 /* Translators: Plugin modified time. */ 56 '<strong>' . sprintf( __( '%s ago', 'wporg-plugins' ), '<span>' . human_time_diff( $mod efied_time ) . '</span>' ) . '</strong>'56 '<strong>' . sprintf( __( '%s ago', 'wporg-plugins' ), '<span>' . human_time_diff( $modified_time ) . '</span>' ) . '</strong>' 57 57 ); 58 58 ?>
Note: See TracChangeset
for help on using the changeset viewer.