[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());https://www.ads-software.com/extend/plugins/wp-socialshareprivacy/
- The topic ‘[Plugin: WP socialshareprivacy] DOM ID bug’ is closed to new replies.