Opened 13 months ago
Closed 13 months ago
#1818 closed defect (fixed)
Allow favorites and subscriptions on multisite installs
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | Code Improvement | Version: | 2.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
Currently the _bbp_favorites and _bbp_subscriptions being stored in $wpdb->usermeta without any sort of blog_id association, possibly causing a topic on one blog from being confused with a different topic on a different blog as long as the topic_id (post_id/$wpdb->posts->ID) is the same.
The attached patch replaces these meta keys with blog specific ones in both SQL statements and [update|delete]_user_meta calls by switching:
'_bbp_favorites' to '_bbp_' . $wpdb->prefix . 'favorites'
'_bbp_subscriptions' to '_bbp_' . $wpdb->prefix . 'subscriptions'
Attachments (1)
Change History (3)
isaacchapman — 13 months ago
- Milestone changed from Awaiting Review to 2.1
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
bbPress Multisite favorites and subscriptions