Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#3864 closed defect (bug) (fixed)

'bp_core_exclude_pages' filter incorrectly applied on multisite

Reported by: npetetin's profile npetetin Owned by:
Milestone: 1.5.3 Priority: normal
Severity: major Version: 1.5.2
Component: Core Keywords:
Cc: contact@…

Description

The 'bp_core_exclude_pages' filter is applied on the 'wp_list_pages_excludes' hook on every blog in a multisite environment, so the pages with the same IDs as the root blog's 'activate' and 'register' pages are excluded although these are not those pages because not from the root blog.

The 'bp_core_exclude_pages' function should start by checking if the current blog is the root blog with the 'bp_is_root_blog' function.

Change History (4)

#1 @npetetin
13 years ago

  • Cc contact@… added

#2 @boonebgorges
13 years ago

  • Milestone changed from Awaiting Review to 1.5.3

Yikes. Good catch.

#3 @boonebgorges
13 years ago

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

(In [5569]) Don't exclude pages in bp_core_exclude_pages() on non-root blogs.
Fixes #3864.
Props npetetin

#4 @boonebgorges
13 years ago

(In [5570]) Don't exclude pages in bp_core_exclude_pages() on non-root blogs.
Fixes #3864.
Props npetetin

Note: See TracTickets for help on using tickets.