WordPress.org

Ready to get started?Download WordPress

Forums

comments_popup_link template tag title should be converted to html entities (1 post)

  1. AnonFace
    Member
    Posted 8 years ago #

    Line 331 in wp-includes/comment-functions.php is

    echo ' title="' . sprintf( __('Comment on %s'), $post->post_title ) .'">';

    If there is a post title with quotes, they are not escaped and makes the page XHTML invalid.
    Maybe there should be a fix for this in a future version?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags