Ticket #31121: 31121.patch
File 31121.patch, 8.4 KB (added by , 10 years ago) |
---|
-
src/wp-admin/edit-form-advanced.php
84 84 8 => sprintf( __('Post submitted. <a target="_blank" href="%s">Preview post</a>'), esc_url( add_query_arg( 'preview', 'true', $permalink ) ) ), 85 85 9 => sprintf( __('Post scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview post</a>'), 86 86 /* translators: Publish box date format, see http://php.net/date */ 87 date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( $permalink ) ),87 date_i18n( __( 'M j, Y @ H:i' ), strtotime( $post->post_date ) ), esc_url( $permalink ) ), 88 88 10 => sprintf( __('Post draft updated. <a target="_blank" href="%s">Preview post</a>'), esc_url( add_query_arg( 'preview', 'true', $permalink ) ) ), 89 89 ); 90 90 $messages['page'] = array( … … 97 97 6 => sprintf( __('Page published. <a href="%s">View page</a>'), esc_url( $permalink ) ), 98 98 7 => __('Page saved.'), 99 99 8 => sprintf( __('Page submitted. <a target="_blank" href="%s">Preview page</a>'), esc_url( add_query_arg( 'preview', 'true', $permalink ) ) ), 100 9 => sprintf( __('Page scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview page</a>'), date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( $permalink ) ),100 9 => sprintf( __('Page scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview page</a>'), date_i18n( __( 'M j, Y @ H:i' ), strtotime( $post->post_date ) ), esc_url( $permalink ) ), 101 101 10 => sprintf( __('Page draft updated. <a target="_blank" href="%s">Preview page</a>'), esc_url( add_query_arg( 'preview', 'true', $permalink ) ) ), 102 102 ); 103 103 $messages['attachment'] = array_fill( 1, 10, __( 'Media attachment updated.' ) ); // Hack, for now. -
src/wp-admin/edit-form-comment.php
101 101 <div class="misc-pub-section curtime misc-pub-curtime"> 102 102 <?php 103 103 /* translators: Publish box date format, see http://php.net/date */ 104 $datef = __( 'M j, Y @ G:i' );104 $datef = __( 'M j, Y @ H:i' ); 105 105 $stamp = __('Submitted on: <b>%1$s</b>'); 106 106 $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); 107 107 ?> -
src/wp-admin/includes/class-wp-comments-list-table.php
542 542 } 543 543 544 544 public function column_date() { 545 return get_comment_date( __( 'Y/m/d \a\t g:i a' ) );545 return get_comment_date( __( 'Y/m/d \a\t g:i a' ) ); 546 546 } 547 547 548 548 public function column_response() { -
src/wp-admin/includes/class-wp-plugin-install-list-table.php
446 446 */ 447 447 $action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin ); 448 448 449 $date_format = __( 'M j, Y @ G:i' );449 $date_format = __( 'M j, Y @ H:i' ); 450 450 $last_updated_timestamp = strtotime( $plugin['last_updated'] ); 451 451 ?> 452 452 <div class="plugin-card"> -
src/wp-admin/includes/class-wp-posts-list-table.php
762 762 $t_time = $h_time = __( 'Unpublished' ); 763 763 $time_diff = 0; 764 764 } else { 765 $t_time = get_the_time( __( 'Y/m/d g:i:s A' ) );765 $t_time = get_the_time( __( 'Y/m/d g:i:s a' ) ); 766 766 $m_time = $post->post_date; 767 767 $time = get_post_time( 'G', true, $post ); 768 768 -
src/wp-admin/includes/meta-boxes.php
162 162 163 163 <?php 164 164 /* translators: Publish box date format, see http://php.net/date */ 165 $datef = __( 'M j, Y @ G:i' );165 $datef = __( 'M j, Y @ H:i' ); 166 166 if ( 0 != $post->ID ) { 167 167 if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date 168 168 $stamp = __('Scheduled for: <b>%1$s</b>'); … … 293 293 <div id="misc-publishing-actions"> 294 294 <?php 295 295 /* translators: Publish box date format, see http://php.net/date */ 296 $datef = __( 'M j, Y @ G:i' );296 $datef = __( 'M j, Y @ H:i' ); 297 297 $stamp = __('Uploaded on: <b>%1$s</b>'); 298 298 $date = date_i18n( $datef, strtotime( $post->post_date ) ); 299 299 ?> -
src/wp-admin/includes/plugin-install.php
439 439 440 440 echo "</div>\n"; 441 441 442 $date_format = __( 'M j, Y @ G:i' );442 $date_format = __( 'M j, Y @ H:i' ); 443 443 $last_updated_timestamp = strtotime( $api->last_updated ); 444 444 ?> 445 445 <div id="<?php echo $_tab; ?>-content" class='<?php echo $_with_banner; ?>'> -
src/wp-admin/includes/revision.php
203 203 'id' => $revision->ID, 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, 210 210 'current' => $current, … … 221 221 'id' => $post->ID, 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, 228 228 'current' => true, -
src/wp-admin/options-general.php
18 18 $title = __('General Settings'); 19 19 $parent_file = 'options-general.php'; 20 20 /* translators: date and time format for exact current time, mainly about timezones, see http://php.net/date */ 21 $timezone_format = _x('Y-m-d G:i:s', 'timezone date format');21 $timezone_format = _x('Y-m-d H:i:s', 'timezone date format'); 22 22 23 23 /** 24 24 * Display JavaScript on the page. -
src/wp-includes/post-template.php
1659 1659 return false; 1660 1660 1661 1661 /* translators: revision date format, see http://php.net/date */ 1662 $datef = _x( ' j F, Y @ G:i', 'revision date format');1662 $datef = _x( 'F j, Y @ H:i', 'revision date format'); 1663 1663 /* translators: 1: date */ 1664 1664 $autosavef = _x( '%1$s [Autosave]', 'post revision title extra' ); 1665 1665 /* translators: 1: date */ … … 1695 1695 1696 1696 $author = get_the_author_meta( 'display_name', $revision->post_author ); 1697 1697 /* translators: revision date format, see http://php.net/date */ 1698 $datef = _x( ' j F, Y @ G:i:s', 'revision date format');1698 $datef = _x( 'F j, Y @ H:i:s', 'revision date format'); 1699 1699 1700 1700 $gravatar = get_avatar( $revision->post_author, 24 ); 1701 1701