code: WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
-
Hi.
I have an error: “Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: “$installmentItem”.”
and this is my code:
<ul>
<?php foreach ( $installments['items'] as $installmentItem ) : ?>
<li><?php echo \esc_html( $installmentItem ); ?></li>
<?php endforeach; ?>
</ul>Why does that point to a loop?
Regards
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.