I18N: Correct various instances of incorrect usage of esc_attr_e().
Fixes #37457 Props henry.wright, afercia Built from https://develop.svn.wordpress.org/trunk@38424 git-svn-id: http://core.svn.wordpress.org/trunk@38365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -213,7 +213,7 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved
|
||||
<th scope="row"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th>
|
||||
<td class="comment-content">
|
||||
<?php comment_text( $comment ); ?>
|
||||
<p class="edit-comment"><a href="<?php echo admin_url( "comment.php?action=editcomment&c={$comment->comment_ID}" ); ?>"><?php esc_attr_e( 'Edit' ); ?></a></p>
|
||||
<p class="edit-comment"><a href="<?php echo admin_url( "comment.php?action=editcomment&c={$comment->comment_ID}" ); ?>"><?php esc_html_e( 'Edit' ); ?></a></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -222,7 +222,7 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved
|
||||
|
||||
<p>
|
||||
<?php submit_button( $button, 'primary', 'submit', false ); ?>
|
||||
<a href="<?php echo admin_url('edit-comments.php'); ?>" class="button-cancel"><?php esc_attr_e( 'Cancel' ); ?></a>
|
||||
<a href="<?php echo admin_url('edit-comments.php'); ?>" class="button-cancel"><?php esc_html_e( 'Cancel' ); ?></a>
|
||||
</p>
|
||||
|
||||
<?php wp_nonce_field( $nonce_action ); ?>
|
||||
|
||||
Reference in New Issue
Block a user