[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:28 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:"12124" 12124]:
{{{
#!CommitTicketReference repository="" revision="12124"
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 (trunk).
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7870#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list