[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
Thu Mar 6 17:12:12 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:  3.9
Component:  Themes        |     Version:  1.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------

Comment (by MikeHansenMe):

 27201.4.diff removes the return ''; so that at the end of the function it
 returns the default and consistent filename rather than an empty string.
 Also converted spaces to tabs and some other minor clean up.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27201#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list