Conflict with BuddyPress Groups Extras – em_content() removing $page_content
-
Hi, It looks like Events Manager is stripping all page_content for a buddypress group-page and wrapping the resulting empty page_content with the
<div id="em-wrapper">
.My test system:
WordPress 4.7.1
Events Manager version 5.6.6.1
BuddyPress Groups Extra Version 3.6.9.1
BuddyPress 2.7.4
plus various other pluginsHere is the html output of a group-sub page:
<div role="navigation" id="subnav" class="item-list-tabs no-ajax"> <ul> <li> <a href="/groups/mygroupname/gpages/group-info">Group Info</a> </li><li class="current"> <a href="/groups/mygroupname/gpages/group-news">Group News</a> </li> </ul> </div> <div class="gpage"> <div id="em-wrapper"></div> <div class="edit_link"> <a target="_blank" title="Edit link for group admins only" href="/groups/mygroupname/admin/extras/pages-manage/?edit=40408">[Edit]</a> </div> </div>
em-events.php line 123.
I think it looks like a conflict with “Events Manager” consuming the page_content for posts that have content. The function em_content($page_content) is generating the
<div id="em-wrapper"></div>
, which is meant to be wrapping the page content if its an event. It’s taking in the page_content “BuddyPress Groups Extra” is attempting to output to the page and stripping it completely.Link to BuddyPress Groups Extras Support Thread for this issue.
- The topic ‘Conflict with BuddyPress Groups Extras – em_content() removing $page_content’ is closed to new replies.