• Resolved dbacksbst

    (@dbacksbst)


    I recently discovered an issue where has_term() supplies a false negative on recurring events. How to reproduce:

    1. Create an event, and set it up to be a recurring event.
    2. Assign an Event Category to the event.
    3. 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)
  • Thread Starter dbacksbst

    (@dbacksbst)

    Update: This only seems to apply on archive views (i.e. month), where TEC generates a fake ID for the event posts that are displayed (e.g., 10000001, 10000002, etc.).

    • This reply was modified 1 year, 2 months ago by dbacksbst.
    Plugin Support tristan083

    (@tristan083)

    Hi @dbacksbst,

    Since your concern pertains to one of our premium plugins, please open a Support Ticket on our Help Desk. Also, we need to follow WordPress Forum Guidelines regarding premium users.??

    One of my colleagues will be with you shortly. We look forward to helping you out with this one. 

    Hang in there.

    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that there hasn’t been any recent activity on this thread, so we’ll consider it resolved. However, if you have any additional questions or concerns, please open a?Support Ticket?on our Help Desk.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘has_term() fails on recurring events’ is closed to new replies.