[wp-trac] [WordPress Trac] #27201: Any file called index.php is labeled as Main Index Template by theme editor, even if it is not the main index template.
WordPress Trac
noreply at wordpress.org
Fri Mar 14 17:31:17 UTC 2014
#27201: Any file called index.php is labeled as Main Index Template by theme
editor, even if it is not the main index template.
--------------------------+-----------------------------
Reporter: Shelob9 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Themes | Version: 1.5
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: administration
--------------------------+-----------------------------
Comment (by bravokeyl):
A different approach to get file description by passing relative path and
comparing using pathinfo() as whether the files are in the base level or
not.
And implementing [http://make.wordpress.org/core/handbook/coding-
standards/php/#brace-style brace-style] standards.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27201#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list