WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP socialshareprivacy] DOM ID bug

[Plugin: WP socialshareprivacy] DOM ID bug

  • 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/

  • The topic ‘[Plugin: WP socialshareprivacy] DOM ID bug’ is closed to new replies.