From aa3e40c32ca63f4f8808ecfe0c6a318fc9b827d0 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 18 Oct 2017 17:30:35 +0000 Subject: [PATCH] I18N: Remove `` tag from a translatable string in `post_submit_meta_box()`. Props ramiy. Fixes #41681. git-svn-id: https://develop.svn.wordpress.org/trunk@41910 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/meta-boxes.php | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php index 4780fefb84..6aeb0701f3 100644 --- a/src/wp-admin/includes/meta-boxes.php +++ b/src/wp-admin/includes/meta-boxes.php @@ -333,15 +333,19 @@ function attachment_submit_meta_box( $post ) {
- %1$s'); - $date = date_i18n( $datef, strtotime( $post->post_date ) ); - ?>
- + post_date ) + ); + printf( + /* translators: Attachment information. %s: Date the attachment was uploaded */ + __( 'Uploaded on: %s' ), + '' . $date . '' + ); + ?>