WordPress.org

Ready to get started?Download WordPress

Forums

WP socialshareprivacy
DOM ID bug (1 post)

  1. skypher
    Member
    Posted 2 years ago #

    The current method of id generation for the div causes naming clashes if the same post occurs more than once on the page (and possibly in other situations).

    A reasonable and simple fix in wp-socialshareprivacy.php, line 96:

    $id = 'socialshareprivacy_' . md5(get_permalink());
    =>
    $id = 'socialshareprivacy_' . md5(get_permalink() . rand());

    http://wordpress.org/extend/plugins/wp-socialshareprivacy/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.