Changeset 51177 for trunk/src/wp-admin/comment.php
- Timestamp:
- 06/17/2021 02:35:59 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r48991 r51177 233 233 <td class="comment-content"> 234 234 <?php comment_text( $comment ); ?> 235 <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>235 <p class="edit-comment"><a href="<?php echo esc_url( admin_url( "comment.php?action=editcomment&c={$comment->comment_ID}" ) ); ?>"><?php esc_html_e( 'Edit' ); ?></a></p> 236 236 </td> 237 237 </tr> … … 242 242 <p> 243 243 <?php submit_button( $button, 'primary', 'submit', false ); ?> 244 <a href="<?php echo admin_url( 'edit-comments.php'); ?>" class="button-cancel"><?php esc_html_e( 'Cancel' ); ?></a>244 <a href="<?php echo esc_url( admin_url( 'edit-comments.php' ) ); ?>" class="button-cancel"><?php esc_html_e( 'Cancel' ); ?></a> 245 245 </p> 246 246
Note: See TracChangeset
for help on using the changeset viewer.