stream
stream copied to clipboard
Fix BuddyPress Action links
trafficstars
Fixes #1520
This updates the action links to be blog specific and does not show them if the user can't view the linked page or if BuddyPress is not active on the site. This means that if BuddyPress is not network active and is enabled on a site other than the main site, the action links will not show up in the network admin Stream log table.
Checklist
- [ ] Project documentation has been updated to reflect the changes in this pull request, if applicable.
- [x] I have tested the changes in the local development environment (see
contributing.md). - [ ] I have added phpunit tests.