[buddypress-trac] [BuddyPress Trac] #7870: Groups - Fatal error when joining a group and when the Activity component is disabled

buddypress-trac noreply at wordpress.org
Fri May 25 17:08:12 UTC 2018


#7870: Groups - Fatal error when joining a group and when the Activity component
is disabled
--------------------------+---------------------
 Reporter:  r-a-y         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.1.0
Component:  Groups        |     Version:  3.0.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by r-a-y):

 In [changeset:"12123" 12123]:
 {{{
 #!CommitTicketReference repository="" revision="12123"
 Groups: Ensure 'last_activity' meta is updated when the Activity component
 is disabled.

 In r11924, the `bp-groups-activity.php` file is loaded only if the
 Activity
 component is disabled.

 However, the `groups_update_last_activity()` function was in this file.
 This function is needed to set the `last_activity` group meta entry.  To
 ensure the `last_activity` group meta entry is always updated, this commit
 moves the `groups_update_last_activity()` function over to
 `bp-groups-functions.php`.

 Anti-props r-a-y.

 See #7870 (3.x branch).
 }}}

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


More information about the buddypress-trac mailing list