[wp-trac] [WordPress Trac] #28143: Automated Theme Scanning Engine doesn't allow text "Template: " anywhere in the style.css body
WordPress Trac
noreply at wordpress.org
Tue May 6 05:20:56 UTC 2014
#28143: Automated Theme Scanning Engine doesn't allow text "Template: " anywhere in
the style.css body
--------------------------+-----------------------------
Reporter: TomasM | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hello, I cannot find exactly where to put this ticket, I hope you will add
it to the appropriate section.
So, this bug is related to the theme scanning process. Recently I was
trying to submit my theme and was getting strange error:
{{{
Results of Automated Theme Scanning: Pass
There is no theme called '*/' in the directory. For child themes, you must
use a parent theme that already exists in the directory.
}}}
My theme is parent theme, so I spent couple of hrs trying to find out what
is going on...
This error was caused by a comment in the middle of style.css:
{{{
/* Tip12 - Uncomment following CSS rules to have classic Twenty Twelve
front page look - disable header image for the Front Page Template: */
}}}
Suggestion would be to look for the "Template:" only in the first
commented section of the style.css.
Thank you!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28143>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list