From 3951984680717959c050572791c2715131a92ed7 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 18 Oct 2017 17:31:48 +0000 Subject: [PATCH] I18N: Remove `` tag from a translatable string in `post_submit_meta_box()`. Props ramiy. Fixes #41681. Built from https://develop.svn.wordpress.org/trunk@41910 git-svn-id: http://core.svn.wordpress.org/trunk@41744 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/meta-boxes.php | 20 ++++++++++++-------- wp-includes/version.php | 2 +- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index 4780fefb84..6aeb0701f3 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/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 . '' + ); + ?>