[buddypress-trac] [BuddyPress Trac] #6717: bp_core_get_directory_pages() with BP_ENABLE_MULTIBLOG returns wrong pages

buddypress-trac noreply at wordpress.org
Fri Nov 6 16:28:27 UTC 2015


#6717: bp_core_get_directory_pages() with BP_ENABLE_MULTIBLOG returns wrong pages
-------------------------------------+------------------
 Reporter:  wpdennis                 |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  2.5
Component:  Component - Core         |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------
Changes (by boonebgorges):

 * keywords:  dev-feedback => has-patch needs-testing
 * milestone:  Awaiting Review => 2.5


Comment:

 Thanks for the report, wpdennis. I've confirmed the problem.

 I scanned through to look at how the 'bp' cache group is being used. It
 acts like BP's junk drawer for miscellaneous items to cache. This
 particular key is the only one I saw that look like ought to be multiblog-
 aware. See [attachment:6717.diff].

 This is a relatively minor change, but we are very late in the cycle, so
 I'd like to push it to 2.5, to allow for testing. In the meantime, you can
 work around this problem by copying the logic of
 `bp_core_get_directory_pages()` to an mu-plugin or bp-custom.php,
 correcting the cache group, and using that function to filter
 'bp_core_get_directory_pages'.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6717#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list