Opened 5 years ago
Closed 5 years ago
#8442 closed defect (bug) (worksforme)
bp_activity_add does not appear to fire when blogs in the network publish
| Reported by: | lordmatt | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Activity | Version: | 7.2.0 |
| Severity: | normal | 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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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 );