buddypress/tests/phpunit
Paul Gibbs f6b0c99866 Emails: fix situations not being correctly assigned to email posts.
Previously, we were using wp_set_post_terms() to fetch the terms to assign to an email post. However, it turns that that function returns term taxonomy IDs, not term IDs. Generally, term_id and term_taxonomy_id will be the same for newly created terms like these, but not when the database still contains shared taxonomy terms.

Fixes #6936 (2.5 branch)

Props chherbst, boonebgorges


git-svn-id: https://buddypress.svn.wordpress.org/branches/2.5@10648 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2016-03-09 20:32:22 +00:00
..
assets Allow class extending the BP_Attachment class to get the original WordPress upload dir within their upload_dir_filter() method. 2015-10-06 23:53:33 +00:00
includes Post Type Activities: add unit tests and improve existing ones. 2016-02-07 16:55:04 +00:00
testcases Emails: fix situations not being correctly assigned to email posts. 2016-03-09 20:32:22 +00:00
bootstrap.php Tests: new base class for BP_Email tests. 2016-02-06 19:26:09 +00:00
multisite.xml Grunt: move phpUnit tests into new, top-level tests folder. 2014-05-04 12:57:55 +00:00