Get posts by term slug only

If you look at source of get_term() it does hard check for taxonomy and for good reasons (caching, collisions, etc).

I see two possible approaches:

  • look for term in every appropriate taxonomy until you match
  • try to query for term by search or name__like in multiple taxonomies using get_terms() and work with results