[wp-trac] [WordPress Trac] #44115: Add `esc_html` to get_comment_link
WordPress Trac
noreply at wordpress.org
Wed May 16 22:11:25 UTC 2018
#44115: Add `esc_html` to get_comment_link
--------------------------+------------------------------
Reporter: 1naveengiri | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Changes (by joyously):
* keywords: => needs-patch
Comment:
The patch is incorrect. It should be the output that is changed.
{{{
<span id="sample-permalink"><a href="<?php echo esc_url( $comment_link );
?>"><?php echo esc_html( $comment_link ); ?></a></span>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44115#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list