Opened 2 years ago
Last modified 11 months ago
#17036 new defect (bug)
Theme editor shouldn't override root directory files with same names in child directories
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Administration | Version: | 3.1 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: |
Description
Steps to reproduce:
- Create subdirectory: blogs
- Create file in subdirectory: index.php
- Try selecting Main Index Template in Theme Editor
Example is taken from BuddyPress' theme structure. get_file_description() doesn't account in any way for the presence of subdirectories since it uses basename().
Change History (3)
Version 0, edited 2 years ago
by kawauso
(next)
comment:2
SergeyBiryukov — 21 months ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to Future Release
Related: #4131
comment:3
SergeyBiryukov — 11 months ago
Related: #6531
Note: See
TracTickets for help on using
tickets.

Duplicate: #10429