Skip to content

Commit 6a9951a

Browse files
authored
Merge pull request #84 from WordPress/fix-error-reports
check for failures AND errors
2 parents e4aca65 + c259561 commit 6a9951a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

parts/single-result.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,12 @@
6868
</tr>
6969
</table>
7070

71-
<?php if ( ! empty( $results['failures'] ) ) : ?>
71+
<?php
72+
if (
73+
! empty( $results['failures'] ) ||
74+
! empty( $results['errors'] )
75+
) :
76+
?>
7277
<h2>Errors/Failures</h2>
7378

7479
<?php

0 commit comments

Comments
 (0)