-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Same stream shows on all blogs in multisite #63
Comments
@blobaugh Thank you for the note, the usage of base_prefix was a left-over from a trial to make Stream work network-wide. This fix should not affect existing non-multisite installs. /cc @fjarrett |
I think this plugin will be pretty popular with Multisite installs. I know that is the first thing I thought of when I saw it and I run several multisites. I think it would be smart to approach this with multisite in mind |
@blobaugh I most definitely agree! |
When using WordPress Multisite the same stream content shows up for all blogs on the multisite. Other blog owners should not see the actions of other blogs.
This is a fairly simple fix. Add a blog_id column to the {prefix}_stream table. When inserting a new log entry in addition to storing the site_id (for multi-network installs) also store the specific blog id.
Another boon to this is that a stream log viewer can easily be created in the network admin area to monitor the changes across the network.
The text was updated successfully, but these errors were encountered: