Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#3503 closed defect (bug) (fixed)

bp_core_get_root_options() doesn't observe network boundaries

Reported by: wpmuguru's profile wpmuguru Owned by:
Milestone: 1.5 Priority: normal
Severity: normal Version:
Component: Core Keywords: has-patch
Cc:

Description

In a multi-network install the options retrieved from sitemeta will be the last ones in the table (since all are retrieved) vs the ones for the current network.

Attachments (1)

3503.diff (921 bytes) - added by wpmuguru 13 years ago.

Download all attachments as: .zip

Change History (5)

@wpmuguru
13 years ago

#1 @boonebgorges
13 years ago

  • Milestone changed from Awaiting Review to 1.5

Good catch.

#2 @boonebgorges
13 years ago

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

(In [5024]) Respect current_site when pulling up sitewide options with bp_core_get_root_options(). Fixes #3503. Props wpmuguru

#3 @johnjamesjacoby
13 years ago

(In [5026]) Prepare queries in bp_core_get_root_options(). See #3503 and r5024.

#4 @boonebgorges
13 years ago

(In [5030]) Cleans up use of bp_create_excerpt(). Fixes #3503. Props r-a-y

Note: See TracTickets for help on using tickets.