Post Formats: Allow to check for any post format
|Reported by:||obenland||Owned by:||duck_|
|Component:||Post Formats||Keywords:||has-patch commit|
It would be great if themes could check if any post format has been assigned to a post. This would make it especially easy to check if no post format has been assigned, something that is hard to do in has_post_format's current setup.
With the change in r24934 it is only a matter of making the passed format argument optional and checking for it.