wp/wp-admin/edit-form-comment.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 21 48c4eec2b7e6
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
    50 	<td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" id="name" /></td>
    50 	<td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" id="name" /></td>
    51 </tr>
    51 </tr>
    52 <tr>
    52 <tr>
    53 	<td class="first"><label for="email"><?php _e( 'Email' ); ?></label></td>
    53 	<td class="first"><label for="email"><?php _e( 'Email' ); ?></label></td>
    54 	<td>
    54 	<td>
    55 		<input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" id="email" />
    55 		<input type="text" name="newcomment_author_email" size="30" value="<?php echo esc_attr( $comment->comment_author_email ); ?>" id="email" />
    56 	</td>
    56 	</td>
    57 </tr>
    57 </tr>
    58 <tr>
    58 <tr>
    59 	<td class="first"><label for="newcomment_author_url"><?php _e( 'URL' ); ?></label></td>
    59 	<td class="first"><label for="newcomment_author_url"><?php _e( 'URL' ); ?></label></td>
    60 	<td>
    60 	<td>
   122 <div class="misc-pub-section curtime misc-pub-curtime">
   122 <div class="misc-pub-section curtime misc-pub-curtime">
   123 <?php
   123 <?php
   124 $submitted = sprintf(
   124 $submitted = sprintf(
   125 	/* translators: 1: Comment date, 2: Comment time. */
   125 	/* translators: 1: Comment date, 2: Comment time. */
   126 	__( '%1$s at %2$s' ),
   126 	__( '%1$s at %2$s' ),
   127 	/* translators: Publish box date format, see https://www.php.net/date */
   127 	/* translators: Publish box date format, see https://www.php.net/manual/datetime.format.php */
   128 	date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $comment->comment_date ) ),
   128 	date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $comment->comment_date ) ),
   129 	/* translators: Publish box time format, see https://www.php.net/date */
   129 	/* translators: Publish box time format, see https://www.php.net/manual/datetime.format.php */
   130 	date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $comment->comment_date ) )
   130 	date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $comment->comment_date ) )
   131 );
   131 );
   132 ?>
   132 ?>
   133 <span id="timestamp">
   133 <span id="timestamp">
   134 <?php
   134 <?php