[theme-reviewers] first time uploading a theme - php short tags error

Simon Prosser pross at pross.org.uk
Mon Jan 24 08:07:39 UTC 2011


On 01/23/11 22:57, roberto wrote:
> Hello, i try to upload a theme and i'm facing this error:
> 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
> 
> I made a search with WinGrep/grepWin for "*<? *" and no results found.
> Attached is theme.
> 
> Thanks,
you need to search for /<?(\s|=)/ as valid short tags are <? and <?= is
short for 'echo'. The <?= is in contact-form.php and was found 3 times.



-- 
My Blog: http://www.pross.org.uk/
Plugins: http://www.pross.org.uk/plugins/
Themes : http://wordpress.org/extend/themes/profile/pross


More information about the theme-reviewers mailing list