diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php index 2035107c28..40afa7b78c 100644 --- a/src/wp-admin/edit-form-advanced.php +++ b/src/wp-admin/edit-form-advanced.php @@ -54,7 +54,7 @@ $messages['post'] = array( 7 => __('Post saved.'), 8 => sprintf( __('Post submitted. <a target="_blank" href="%s">Preview post</a>'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ), 9 => sprintf( __('Post scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview post</a>'), - // translators: Publish box date format, see http://php.net/date + /* translators: Publish box date format, see http://php.net/date */ date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( get_permalink($post_ID) ) ), 10 => sprintf( __('Post draft updated. <a target="_blank" href="%s">Preview post</a>'), esc_url( add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ) ), ); diff --git a/src/wp-admin/edit-form-comment.php b/src/wp-admin/edit-form-comment.php index 18a0a74ca8..3d0ebf5104 100644 --- a/src/wp-admin/edit-form-comment.php +++ b/src/wp-admin/edit-form-comment.php @@ -99,7 +99,7 @@ if ( !defined('ABSPATH') ) <div class="misc-pub-section curtime misc-pub-curtime"> <?php -// translators: Publish box date format, see http://php.net/date +/* translators: Publish box date format, see http://php.net/date */ $datef = __( 'M j, Y @ G:i' ); $stamp = __('Submitted on: <b>%1$s</b>'); $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php index 5900755c4c..18970fdd5a 100644 --- a/src/wp-admin/includes/meta-boxes.php +++ b/src/wp-admin/includes/meta-boxes.php @@ -158,7 +158,7 @@ echo esc_html( $visibility_trans ); ?></span> </div><!-- .misc-pub-section --> <?php -// translators: Publish box date format, see http://php.net/date +/* translators: Publish box date format, see http://php.net/date */ $datef = __( 'M j, Y @ G:i' ); if ( 0 != $post->ID ) { if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date @@ -294,7 +294,7 @@ function attachment_submit_meta_box( $post ) { <div id="misc-publishing-actions"> <?php - // translators: Publish box date format, see http://php.net/date + /* translators: Publish box date format, see http://php.net/date */ $datef = __( 'M j, Y @ G:i' ); $stamp = __('Uploaded on: <b>%1$s</b>'); $date = date_i18n( $datef, strtotime( $post->post_date ) );