Changeset 31862 for trunk/src/wp-admin/includes/revision.php
- Timestamp:
- 03/23/2015 02:13:50 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/revision.php
r31471 r31862 204 204 'title' => get_the_title( $post->ID ), 205 205 'author' => $authors[ $revision->post_author ], 206 'date' => date_i18n( __( 'M j, Y @ G:i' ), $modified ),207 'dateShort' => date_i18n( _x( 'j M @ G:i', 'revision date short format' ), $modified ),206 'date' => date_i18n( __( 'M j, Y @ H:i' ), $modified ), 207 'dateShort' => date_i18n( _x( 'j M @ H:i', 'revision date short format' ), $modified ), 208 208 'timeAgo' => sprintf( __( '%s ago' ), human_time_diff( $modified_gmt, $now_gmt ) ), 209 209 'autosave' => $autosave, … … 222 222 'title' => get_the_title( $post->ID ), 223 223 'author' => $authors[ $post->post_author ], 224 'date' => date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_modified ) ),225 'dateShort' => date_i18n( _x( 'j M @ G:i', 'revision date short format' ), strtotime( $post->post_modified ) ),224 'date' => date_i18n( __( 'M j, Y @ H:i' ), strtotime( $post->post_modified ) ), 225 'dateShort' => date_i18n( _x( 'j M @ H:i', 'revision date short format' ), strtotime( $post->post_modified ) ), 226 226 'timeAgo' => sprintf( __( '%s ago' ), human_time_diff( strtotime( $post->post_modified_gmt ), $now_gmt ) ), 227 227 'autosave' => false,
Note: See TracChangeset
for help on using the changeset viewer.