• Resolved thenashone

    (@thenashone)


    I am designing a wordpress theme and using your plugin to validate the theme.

    after validation i have alot of errors;

    WARNING: Found PHP short tags in file header.php.
    
    Line 25: <?PHP if ($topbaronoff == 'on'): ?>
    
    Line 27: <?PHP if ($topmenuonoff == 'on'): ?>
    
    Line 32: <?PHP endif; ?>

    I am lead to believe that php short tag was something like the following

    <? if ($topbaronoff == 'on'): ?>

    https://www.ads-software.com/plugins/theme-check/

Viewing 1 replies (of 1 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Heh. Never seen anybody use capital letters for <?PHP before.

    The correct syntax is <?php in lowercase. That check is case sensitive, so it’s only seeing the <?.

Viewing 1 replies (of 1 total)
  • The topic ‘Bug – PHP Short Tags’ is closed to new replies.