[buddypress-trac] [BuddyPress] #3864: 'bp_core_exclude_pages' filter incorrectly applied on multisite

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Dec 17 16:32:14 UTC 2011

#3864: 'bp_core_exclude_pages' filter incorrectly applied on multisite
 Reporter:  npetetin      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.5.2
 Severity:  major         |   Keywords:
 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.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3864>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list