| @@ -14,8 +14,9 @@ | ||
| 14 | 14 | |
| 15 | 15 | <div class="my-account-sections"> |
| 16 | 16 | |
| 17 | 17 | <?php |
| 18 | + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Template-local variable; the template is included through a helper/function scope, so PrefixAllGlobals misclassifies the file when checked standalone. | |
| 18 | 19 | $i = 0; |
| 19 | 20 | foreach ( $pages as $id => $page ) |
| 20 | 21 | { |
| 21 | 22 | echo '<div id="my-account-' . esc_attr($id) . '"' . ( ( $i > 0 ) ? ' style="display:none;"' : '' ) . '>'; |