Opened 16 years ago
Closed 16 years ago
#2381 closed defect (bug) (fixed)
bp_core_get_site_options() does not limit query by siteid
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 1.2.5 | Priority: | normal |
| Severity: | Version: | ||
| Component: | Core | Keywords: | has-patch |
| Cc: | abackstrom |
Description
bp_core_get_site_options() in bp-core.php will query against $wpdb->sitemeta if bp_core_is_multisite() returns true. However, it does not limit records that match the current site ID, which can cause duplicate keys and inaccurate site option values to be returned. site_id should be included in the WHERE clause.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [3027]) Fixes #2381 props abackstrom