Skip to:
Content

bbPress.org

Opened 4 years ago

Closed 4 years ago

#3243 closed defect (bug) (worksforme)

Notifications not working correctly on multisite because of duplicate ids

Reported by: naomir's profile naomir Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Cc:

Description

To reproduce:

In multisite system, create two topics, one on one site and one on another, in such a way that each one gets an identical ID in the posts table for each site.

Subscribe to them.

As a different user, reply to them (in order to trigger notifications).

The notifications will both point to the same topic.

Change History (1)

#1 @johnjamesjacoby
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

This should definitely not be the case (even in 2.5.x) and has been unintentionally avoided in trunk (for 2.6.x.)

bbPress 2.5.x uses the "user option" API in WordPress core (get_user_option() & friends) and these functions prefix usermeta keys with the site ID as needed.

Going to close this one as worksforme. Please reopen if this issue still persists.

Note: See TracTickets for help on using tickets.