#34828 closed enhancement (duplicate)
Theme editor displays all index.php files with "Main index template" title
Reported by: | Elvin.Haci | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.3.1 |
Component: | Themes | Keywords: | |
Focuses: | Cc: |
Description
And it is wrong. Theme can have several index.php files in subfolders. In such cases it looks like such:
If 60th line of wp-admin/includes/file.php to replace with this, i think the problem will be solved.
<?php if ( isset( $wp_file_descriptions[basename( $file )] ) and dirname($file)==get_template_directory() ) {
Change History (2)
#1
follow-up:
↓ 2
@
9 years ago
- Component changed from General to Themes
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
#2
in reply to:
↑ 1
@
9 years ago
Hi Sergey. Thank you.
First i created this request in Github 1 year ago (which later was closed by you : https://github.com/WordPress/WordPress/pull/114 ), then they said that i should do the same in Core Trac page. Only today i remembered it and re-requested it here. :)
Replying to SergeyBiryukov:
Hi @Elvin.Haci, welcome to Trac!
Note: See
TracTickets for help on using
tickets.
Hi @Elvin.Haci, welcome to Trac!
This is fixed in 4.4, see #27201 and [34658].