[theme-reviewers] Problem uploading new version of Hybrid theme

Joseph Scott joseph at automattic.com
Tue Jun 22 18:06:55 UTC 2010


I ran:

    grep -rn "<?[^p]" *

and got:

library/functions/hooks-filters.php:23:         $doctype = '<?xml
version="1.0" encoding="' . get_bloginfo( 'charset' ) . '"?>' . "\n";

the XML declaration.  For sites that do have short tags turned on this
will break.  This is one of the reasons why I wished shorts tags had
never been included in PHP.  You'll need to break up the < and ? in
the XML line so that it doesn't get parsed as an opening PHP short
tag.



On Tue, Jun 22, 2010 at 1:34 AM,  <justin at justintadlock.com> wrote:
> The theme uploader gives me this error message:
>
> "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."
>
> Assuming it was correct, I done a search in all theme files (using
> Notepad++) for the offending tag(s).  The search turned up no results.
>
> There may be an error with the uploader for some reason.  Can you please
> look into this or add version 0.8 of my theme (attached) to the theme
> repository?



-- 
Joseph Scott
joseph at josephscott.org
http://josephscott.org/


More information about the theme-reviewers mailing list