Added required params for has_post_format in WordPress 3.7.