mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
I18N: Correct various instances of incorrect usage of esc_attr_e().
Fixes #37457 Props henry.wright, afercia git-svn-id: https://develop.svn.wordpress.org/trunk@38424 602fd350-edb4-49c9-b593-d223f7449a82
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