buddypress/tests/phpunit/testcases
r-a-y 429edcc2ce Activity: Add parameter to bp_activity_get_comment_depth().
Previously, `bp_activity_get_comment_depth()` only supported looking for an
activity comment's depth during a queried activity comment loop.

This commit allows a developer to pass either a comment object or an
activity ID to the function so the activity comment depth can be fetched
outside the activity comment loop.

This fixes an issue with a notice displaying in the BuddyPress Activity
admin dashboard.

See #7329.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@11413 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2017-02-06 19:26:44 +00:00
..
activity Activity: Add parameter to bp_activity_get_comment_depth(). 2017-02-06 19:26:44 +00:00
admin Multisite: Make sure the Blogs directory page is dynamically created when activating the component. 2016-07-30 12:32:04 +00:00
blogs Remove unit tests for title parameters in blog avatars. 2017-01-18 00:36:36 +00:00
core Removes usage of create_function across various BuddyPress components. 2017-01-02 20:13:14 +00:00
friends Replace calls to deprecated user query in friends legacy functions. 2016-12-29 02:35:08 +00:00
groups BP_Groups_Group: Refactor some fetching functions. 2017-01-14 01:37:35 +00:00
members Tests: Fix two XProfile tests and how they interact with the object cache. 2016-10-31 19:35:42 +00:00
messages Update Messages tests to work after the changes in [11042]. 2016-08-30 17:29:28 +00:00
notifications Notifications: Fix issue with querying notifications by string format. 2016-06-28 17:25:24 +00:00
routing After [11405], be sure member types are reset between group routing tests. 2017-02-01 19:47:17 +00:00
settings Improve sanitization of email notification settings. 2015-11-11 03:22:53 +00:00
testsuite Tests: Add Friendship factory. 2016-09-06 03:31:21 +00:00
xprofile XProfile: Add caching for fetching a field ID by name. 2016-12-29 02:16:02 +00:00