changed $classes support to match behavior of get_post_class core function