Shortcode content duplicated because of Jetpack
-
The new Jetpack functionality that uses opengraph (sharing plugins) are calling get_the_excerpt() which, in turn, calls the_content. This appears to duplicate shortcode content.
I was able to work around this using this code on line 445 of wp-activity.php:
if ( in_the_loop() ) {
return act_stream_common($attr[‘number’], $attr[‘title’], true, ”);
} else {
return null;
}It appears to be a Jetpack issue and is hopefully temporary. Just thought I’d share this for anyone else experiencing duplicated content.
Related issue where I found reference material is here (Thank you Mike Little):
https://www.ads-software.com/support/topic/duplicate-entries-on-wp-35
- The topic ‘Shortcode content duplicated because of Jetpack’ is closed to new replies.