each editing session of a post is published in activity stream
-
Hi,
since I installed the last versions of WP 4.0 and Buddypress 2.1.1 each time I edit a post in a group forum and save it, it appears in the Activity stream. Is there a way to avoid to have the same post reapeted so many times? I asked for a solution to my theme’s support too and this is what they replied:“I was curious about this, so I searched through the bbpress code and found two actions that fire when an edit is made to a topic or a reply. I tried using remove_action in my functions.php file, but that didn’t work. It still created a new activity.
The only way I could get it to work is to comment out the action calls within bbpress core code. That’s not ideal. So again, I suggest you post this question over on the bbpress forum.
If you want, you can tell them I tried
global $BBP_BuddyPress_Activity; remove_action( 'edit_post', array( $BBP_BuddyPress_Activity , 'topic_update' ) ); remove_action( 'edit_post', array( $BBP_BuddyPress_Activity , 'reply_update' ) );
It could be that I’m just doing it wrong. Good luck. Sharmstr”
- The topic ‘each editing session of a post is published in activity stream’ is closed to new replies.