Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#3864 closed defect (bug) (fixed)

'bp_core_exclude_pages' filter incorrectly applied on multisite

Reported by: npetetin Owned by:
Priority: normal Milestone: 1.5.3
Component: Core Version: 1.5.2
Severity: major 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
15 years ago

  • Cc contact@… added

#2 @boonebgorges
15 years ago

  • Milestone Awaiting Review1.5.3

Yikes. Good catch.

#3 @boonebgorges
15 years ago

  • Resolutionfixed
  • Status newclosed

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

#4 @boonebgorges
15 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.