Bug found in get_interest_categories_with_interests function
-
The public function
get_interest_categories_with_interests
(class-ss-wc-mailchimp.php:404) incorrectly returns false if ANY of the categories has no interests.The expected behavior would be to return false if the final results array had only categories with no interests (or better yet, just don’t add categories without interests to the results array).
The end result/problem for the user can be seen in the plugin settings page, in the “Interest Groups” field, which incorrectly returns “This list does not have interest groups enabled”.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Bug found in get_interest_categories_with_interests function’ is closed to new replies.