[buddypress-trac] [BuddyPress Trac] #6126: Post types activities are not set when directly using BP_Activity_Activity( $id )
buddypress-trac
noreply at wordpress.org
Fri Jan 16 20:04:27 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 imath):
Replying to [comment:6 boonebgorges]:
> If you find yourself doing this a lot, consider doing the resetting in
the specific class's `tearDown()`, or even in
`BP_UnitTestCase::tearDown()` (or `setUp()` I suppose).
Thanks boonebgorges, now that i've found why i was messing it, i'm going
to check in this direction as i think it would be more secure to have this
way of resetting the global.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6126#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list