buddypress/tests/phpunit/testcases
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
..
activity Post Type Activities: make sure an activity is generated when the post is edited. 2016-02-07 18:13:27 +00:00
admin Emails: fix situations not being correctly assigned to email posts. 2016-03-09 20:32:22 +00:00
blogs Post Type Activities: add unit tests and improve existing ones. 2016-02-07 16:55:04 +00:00
core Unit Tests, Emails: don't un-hook core email actions for unit tests. 2016-02-07 12:01:24 +00:00
friends Friends: Delete 'friendship_created' activity items when a user is deleted. 2016-02-08 17:36:58 +00:00
groups Static function declaration should come after the visibility declaration. 2016-02-01 18:59:04 +00:00
members Introduce bp_get_member_type_directory_permalink(). 2016-01-22 18:02:13 +00:00
messages Messages: Return generic WP Error in messages_new_message() when necessary. 2016-02-12 23:29:33 +00:00
notifications Fix indentation on lines beginning with a space character followed by a tab. 2016-02-01 18:53:30 +00:00
routing URI: Allow root profiles to work when the 'Members' page is nested. 2015-10-08 04:52:31 +00:00
settings Improve sanitization of email notification settings. 2015-11-11 03:22:53 +00:00
xprofile Profile: Improve validation in is_valid(). 2016-02-14 13:48:59 +00:00