improve Get post terms to support wpml