[buddypress-trac] [BuddyPress Trac] #6126: Post types activities are not set when directly using BP_Activity_Activity( $id )
buddypress-trac
noreply at wordpress.org
Tue Jan 20 18:50:53 UTC 2015
#6126: Post types activities are not set when directly using BP_Activity_Activity(
$id )
-----------------------------------+---------------------
Reporter: imath | Owner: djpaul
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.2
Component: Activity | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch 2nd-opinion |
-----------------------------------+---------------------
Comment (by boonebgorges):
In [changeset:"9382"]:
{{{
#!CommitTicketReference repository="" revision="9382"
In `bp_activity_generate_action_string()`, use `bp_activity_get_actions()`
rather than touching global directly.
This change ensures that the filters called by `bp_activity_get_actions()`
are
run, which gives a chance for dynamically registered actions to register
themselves just in time whenever an activity string needs to be generated.
This change is a more general fix than the one introduced in [9366], so
that
changeset (minus its unit tests) has been rolled back. See #6126.
Fixes #6141.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6126#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list