WordPress.org

Support

Support » How-To and Troubleshooting » Problem when name of the term in taxonomy is a number

Problem when name of the term in taxonomy is a number

  • Rado

    @radoslavstasinkagmailcom

    Hi,

    when I have a number as name of the term, then function “is_object_in_term” return TRUE even in cases, when the post has another term with ID as this number.

    Problem is in function “is_object_in_term”. Function check term IDs too. Not only name or slug.

    Have anybody same problem? How solve this problem?

  • The topic ‘Problem when name of the term in taxonomy is a number’ is closed to new replies.