[buddypress-trac] [BuddyPress Trac] #8592: bp_core_get_directory_page_ids ignores current multisite context

buddypress-trac noreply at wordpress.org
Sat Dec 4 14:53:40 UTC 2021


#8592: bp_core_get_directory_page_ids ignores current multisite context
--------------------------+---------------------
 Reporter:  thomaslhotta  |       Owner:  imath
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  10.0.0
Component:  Core          |     Version:  1.5
 Severity:  normal        |  Resolution:  fixed
 Keywords:  needs-patch   |
--------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13159" 13159]:
 {{{
 #!CommitTicketReference repository="" revision="13159"
 Make sure BP directory page IDs are not wrongly unset on multisite

 In case a post of a different site of the multisite network has the same
 ID than one of the BP directory page IDs, the function can wrongly return
 an array in which the corresponding directory page ID is missing.

 We need to make sure this function always run into the BP Root Blog
 context.

 Props thomaslhotta

 Fixes #8592
 }}}

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


More information about the buddypress-trac mailing list