Skip to:
Content

BuddyPress.org

Opened 4 years ago

Closed 3 years ago

#8442 closed defect (bug) (worksforme)

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

Reported by: lordmatt's profile lordmatt Owned by:
Milestone: 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 (2)

#1 @imath
4 years 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 );

#2 @imath
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.