has_term() fails on recurring events
-
I recently discovered an issue where has_term() supplies a false negative on recurring events. How to reproduce:
- Create an event, and set it up to be a recurring event.
- Assign an Event Category to the event.
- Use has_term() to check if the event has the assigned category.
- Expected behavior: has_term() should return true
- Actual behavior: has_term() returns false
- Interesting Note: get_the_terms() behaves as expected
I am currently using TEC v6.2.9 and WordPress v6.4.2
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘has_term() fails on recurring events’ is closed to new replies.