Bug #7656
closed
BP notification text is not generated properly on secondary sites when dependent on non-active plugins
Added by Boone Gorges almost 9 years ago.
Updated almost 9 years ago.
Category name:
BuddyPress (misc)
Description
We have a number of plugins on the main site that are responsible for creating and formatting BP notifications: bbPress and Social Paper, and perhaps others. On secondary sites, these notifications persist, but the plugin isn't there to format them. As a result, the notification text ends up being 'bbp_new_reply', etc.
See #7624 and https://bbpress.trac.wordpress.org/ticket/2706 for some background.
A first pass at a solution for bbPress is here: https://github.com/cuny-academic-commons/cac/commit/802f2670763bec7229f64e6d43fe989fdeb3a1e6
It's relatively complicated, because of the need to work around CORS restrictions on our subdomain network as well as mapped domains. I've also added a caching layer, so that the async request only takes place when necessary.
Ray, would you mind having a look and letting me know if you think this technique is bonkers? If not, I'll do something similar for Social Paper, which suffers from the same problem.
- Status changed from New to Resolved
I'm going to go with this solution for bbPress for now. I'll open a separate ticket for Social Paper so that I can close this one against the 1.10.10 milestone.
- Related to Bug #7663: Social Paper notifications not formatted correctly on secondary sites added
Also available in: Atom
PDF