Skip to:
Content

BuddyPress.org

Opened 5 months ago

Last modified 5 months ago

#8442 new defect (bug)

bp_activity_add does not appear to fire when blogs in the network publish

Reported by: lordmatt Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 7.2.0
Component: Activity Keywords: reporter-feedback
Cc:

Description

I hook bp_activity_add to invalidate a cache when a new activity is recorded. The function does not fire when any blog in the network posts.

Change History (1)

#1 @imath
5 months ago

  • Keywords reporter-feedback added

Hi thanks for your feedback.

Can you confirm BuddyPress is network activated?
Are activities generated when blogs post?
Where is located you custom code? (mu-plugins, bp-custom.php, somewhere else)

Can you try using a higher priority for your hook to see if it fixes the issue?
eg: add_action( 'bp_activity_add', 'your_hook', 9 );

Note: See TracTickets for help on using tickets.