[buddypress-trac] [BuddyPress Trac] #8604: Logging activities should adapt to the context they're displayed in

buddypress-trac noreply at wordpress.org
Mon Sep 19 23:05:35 UTC 2022


#8604: Logging activities should adapt to the context they're displayed in
--------------------------+---------------------
 Reporter:  imath         |       Owner:  imath
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  11.0.0
Component:  Activity      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by imath):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13326" 13326]:
 {{{
 #!CommitTicketReference repository="" revision="13326"
 Improve the way we check the group context of logging activities

 [13308] introduced a PHP warning due to a misuse of the
 `groups_get_current_group()` function (my bad!). When no group is
 displayed this function returns `false`, so checking if it's a
 `BP_Groups_Group` object having an `id` property is wrong.

 Fixes #8604
 }}}

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


More information about the buddypress-trac mailing list