Changeset 52967
- Timestamp:
- 03/20/2022 05:37:21 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r52957 r52967 686 686 $comment_post_title = _draft_or_post_title( $comment->comment_post_ID ); 687 687 $comment_post_url = get_the_permalink( $comment->comment_post_ID ); 688 $comment_post_link = "<a href='$comment_post_url'>$comment_post_title</a>";688 $comment_post_link = '<a href="' . esc_url( $comment_post_url ) . '">' . $comment_post_title . '</a>'; 689 689 } else { 690 690 $comment_post_link = '';
Note: See TracChangeset
for help on using the changeset viewer.