WordPress.org

Make WordPress Core

Ticket #8405: clean_url-for-comment-link.diff

File clean_url-for-comment-link.diff, 324 bytes (added by nbachiyski, 9 years ago)
  • wp-includes/feed.php

     
    252252 * @since 1.5.0
    253253 */
    254254function comment_link() {
    255         echo get_comment_link();
     255        echo clean_url( get_comment_link() );
    256256}
    257257
    258258/**