Skip to:

Opened 12 years ago

Closed 12 years ago

#1818 closed defect (bug) (fixed)

Allow favorites and subscriptions on multisite installs

Reported by: isaacchapman's profile isaacchapman Owned by:
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.0
Component: Tools - Code Improvements Keywords: has-patch


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)

bbpress-multisite-favorites-and-subscriptions.diff (5.2 KB) - added by isaacchapman 12 years ago.
bbPress Multisite favorites and subscriptions

Download all attachments as: .zip

Change History (3)

12 years ago

bbPress Multisite favorites and subscriptions

#1 @johnjamesjacoby
12 years ago

  • Milestone changed from Awaiting Review to 2.1

#2 @johnjamesjacoby
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3856]) Allow user favorites and subscriptions to work per site on multisite installations. Props isaacchapman. Fixes #1818.

Note: See TracTickets for help on using tickets.