#3864 closed defect (bug) (fixed)
'bp_core_exclude_pages' filter incorrectly applied on multisite
Reported by: | 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.
Note: See
TracTickets for help on using
tickets.
Yikes. Good catch.