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: | abackstrom | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2.5 |
| Component: | Core | Version: | |
| Severity: | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [3027]) Fixes #2381 props abackstrom