[theme-reviewers] <? short tags error but no such short tags exist in my theme

Otto otto at ottodestruct.com
Mon Jul 25 23:43:23 UTC 2011


On second thought, don't bother. It was the <?xml tag. The old legacy
check wasn't as smart about that as the newer themecheck check is.
I've removed the old check. It's still rejecting shortcodes, but it
won't be fooled by <?xml tags anymore.

-Otto



On Mon, Jul 25, 2011 at 6:38 PM, Otto <otto at ottodestruct.com> wrote:
> Send me the theme directly.
>
> -Otto
>
>
>
> On Mon, Jul 25, 2011 at 6:36 PM, Robert Ambartsumov
> <robert6292 at gmail.com> wrote:
>> I'm getting a:
>> Your theme is using PHP short tags - <? - instead of normal PHP tags - <?php
>> - in some places. Please only use normal PHP tags in your themes, as some
>> sites have short tags disabled. If you have questions about this please
>> contact theme-reviewers at lists.wordpress.org.
>> But i have scanned my theme top to bottom and was unable to find any short
>> php tags.
>> I have downloaded the themecheck plugin and im not sure it can detect such
>> error but it didn't gave me any warnings as well.
>>
>> The only space i was able to find is echo '<?xml version="1.0"
>> encoding="utf-8" ?>';
>> but that's xml so i'm not sure it has anything to do with your error.
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>


More information about the theme-reviewers mailing list