WordPress.org

Ready to get started?Download WordPress

Forums

Social Sharing Toolkit
BUGFIX: og:description needs escaping (1 post)

  1. BramNL
    Member
    Posted 8 months ago #

    At line 569, the excerpt is echoed without escaping. This needs a htmlspecialchars(). Here is the fix:

    social_sharing_toolkit.php
    Line 567-570. (The important line is 569)

    if ($excerpt != '') {
    				echo '
    		<meta property="og:description" content="' . htmlspecialchars($excerpt) . '"/>';
    			} else {

    http://wordpress.org/plugins/social-sharing-toolkit/

Reply

You must log in to post.

About this Plugin

About this Topic