Ticket #19578: 19578.patch
| File 19578.patch, 2.2 KB (added by ramiy, 18 months ago) |
|---|
-
wp-admin/edit-form-comment.php
56 56 <?php 57 57 // translators: Publish box date format, see http://php.net/date 58 58 $datef = __( 'M j, Y @ G:i' ); 59 $stamp = __('Submitted on: < b>%1$s</b>');59 $stamp = __('Submitted on: <strong>%1$s</strong>'); 60 60 $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); 61 61 ?> 62 62 <span id="timestamp"><?php printf($stamp, $date); ?></span> <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a> -
wp-admin/includes/meta-boxes.php
159 159 $datef = __( 'M j, Y @ G:i' ); 160 160 if ( 0 != $post->ID ) { 161 161 if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date 162 $stamp = __('Scheduled for: < b>%1$s</b>');162 $stamp = __('Scheduled for: <strong>%1$s</strong>'); 163 163 } else if ( 'publish' == $post->post_status || 'private' == $post->post_status ) { // already published 164 $stamp = __('Published on: < b>%1$s</b>');164 $stamp = __('Published on: <strong>%1$s</strong>'); 165 165 } else if ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified 166 $stamp = __('Publish < b>immediately</b>');166 $stamp = __('Publish <strong>immediately</strong>'); 167 167 } else if ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified 168 $stamp = __('Schedule for: < b>%1$s</b>');168 $stamp = __('Schedule for: <strong>%1$s</strong>'); 169 169 } else { // draft, 1 or more saves, date specified 170 $stamp = __('Publish on: < b>%1$s</b>');170 $stamp = __('Publish on: <strong>%1$s</strong>'); 171 171 } 172 172 $date = date_i18n( $datef, strtotime( $post->post_date ) ); 173 173 } else { // draft (no saves, and thus no date specified) 174 $stamp = __('Publish < b>immediately</b>');174 $stamp = __('Publish <strong>immediately</strong>'); 175 175 $date = date_i18n( $datef, strtotime( current_time('mysql') ) ); 176 176 } 177 177