WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/28/2016 06:05:02 PM (4 years ago)
Author:
johnbillion
Message:

I18N: Correct various instances of incorrect usage of esc_attr_e().

Fixes #37457
Props henry.wright, afercia

File:
1 edited

Legend:

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

    r37914 r38424  
    214214<td class="comment-content">
    215215    <?php comment_text( $comment ); ?>
    216     <p class="edit-comment"><a href="<?php echo admin_url( "comment.php?action=editcomment&amp;c={$comment->comment_ID}" ); ?>"><?php esc_attr_e( 'Edit' ); ?></a></p>
     216    <p class="edit-comment"><a href="<?php echo admin_url( "comment.php?action=editcomment&amp;c={$comment->comment_ID}" ); ?>"><?php esc_html_e( 'Edit' ); ?></a></p>
    217217</td>
    218218</tr>
     
    223223<p>
    224224    <?php submit_button( $button, 'primary', 'submit', false ); ?>
    225     <a href="<?php echo admin_url('edit-comments.php'); ?>" class="button-cancel"><?php esc_attr_e( 'Cancel' ); ?></a>
     225    <a href="<?php echo admin_url('edit-comments.php'); ?>" class="button-cancel"><?php esc_html_e( 'Cancel' ); ?></a>
    226226</p>
    227227
Note: See TracChangeset for help on using the changeset viewer.