BP notification text is not generated properly on secondary sites when dependent on non-active plugins
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.
#2 Updated by Boone Gorges about 2 years ago
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.