Make WordPress Core


Ignore:
Timestamp:
09/18/2015 06:27:29 PM (10 years ago)
Author:
wonderboymusic
Message:

Don't use <code> in translation strings in edit-form-comment.php.

Props ramiy.
Fixes #31853.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-comment.php

    r34072 r34295  
    9292/* translators: Publish box date format, see http://php.net/date */
    9393$datef = __( 'M j, Y @ H:i' );
    94 $stamp = __('Submitted on: <b>%1$s</b>');
    95 $date = date_i18n( $datef, strtotime( $comment->comment_date ) );
    96 ?>
    97 <span id="timestamp"><?php printf( $stamp, $date ); ?></span>
     94?>
     95<span id="timestamp"><?php
     96printf(
     97    __( 'Submitted on: %1$s' ),
     98    '<b>' . date_i18n( $datef, strtotime( $comment->comment_date ) ) . '</b>'
     99);
     100?></span>
    98101<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit date and time' ); ?></span></a>
    99102<fieldset id='timestampdiv' class='hide-if-js'>
Note: See TracChangeset for help on using the changeset viewer.