-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
I would expect to only see one error here:
16 <?php if ( $error ) : ?>
17 <code><?php echo esc_html( $error ); ?></code>
18 <?php endif; ?>It's possible this is intentional. I wanted to flag it in case it was not. (This is a WordPress template-part; variables are defined in the parent.)
FILE: template-parts/mail-error.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------------
16 | WARNING | Variable $error is undefined.
| | (VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable)
17 | WARNING | Variable $error is undefined.
| | (VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable)
-----------------------------------------------------------------------------------------------------------------
Metadata
Metadata
Assignees
Labels
No labels