I18N: Remove `<b>` 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
This commit is contained in:
Sergey Biryukov 2017-10-18 17:31:48 +00:00
parent 6b2a4c4574
commit 3951984680
2 changed files with 13 additions and 9 deletions

View File

@ -333,15 +333,19 @@ function attachment_submit_meta_box( $post ) {
<div id="misc-publishing-actions">
<?php
/* translators: Publish box date format, see https://secure.php.net/date */
$datef = __( 'M j, Y @ H:i' );
/* translators: Attachment information. 1: Date the attachment was uploaded */
$stamp = __('Uploaded on: <b>%1$s</b>');
$date = date_i18n( $datef, strtotime( $post->post_date ) );
?>
<div class="misc-pub-section curtime misc-pub-curtime">
<span id="timestamp"><?php printf($stamp, $date); ?></span>
<span id="timestamp"><?php
$date = date_i18n(
/* translators: Publish box date format, see https://secure.php.net/date */
__( 'M j, Y @ H:i' ),
strtotime( $post->post_date )
);
printf(
/* translators: Attachment information. %s: Date the attachment was uploaded */
__( 'Uploaded on: %s' ),
'<b>' . $date . '</b>'
);
?></span>
</div><!-- .misc-pub-section -->
<?php

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-beta2-41909';
$wp_version = '4.9-beta2-41910';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.