Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 11 of Ticket #4909


Ignore:
Timestamp:
04/03/2013 07:47:20 PM (13 years ago)
Author:
boonebgorges
Comment:

Thanks for your detective work, offgridpro. I've downloaded AddThis and reproduced the problem.

The issue is that AddThis is doing something funky to the_content, and they're doing it *after* other filters have run. You can temporarily fix the problem by finding the following line in addthis/addthis_social_widget.php (around 1067):

        add_filter('the_content', 'addthis_display_social_widget', 15);

and changing the number 15 to something less than 10, eg

        add_filter('the_content', 'addthis_display_social_widget', 5);

It's possible that we could do a better job avoiding these kinds of conflict in BuddyPress. I'm moving this ticket to 1.8 so the dev team can discuss.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4909

    • Property Keywords 2nd-opinion added
    • Property Milestone changed from Awaiting Review to 1.8
    • Property Severity changed from normal to minor
    • Property Summary changed from Double display issues on nearly every page to Theme compat doubles the_content when using AddThis
  • Ticket #4909 – Description

    initial v11  
    11On every BP page (default settings), there is a doubling of page content.
     2
     3[Edit: Only when using AddThis. See https://buddypress.trac.wordpress.org/ticket/4909#comment:11]