[wp-trac] [WordPress Trac] #17036: Theme editor shouldn't override root directory files with same names in child directories

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 3 19:11:34 UTC 2011


#17036: Theme editor shouldn't override root directory files with same names in
child directories
----------------------------+-----------------------------
 Reporter:  kawauso         |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  3.1
 Severity:  normal          |   Keywords:
----------------------------+-----------------------------
 '''Steps to reproduce:'''
 1. Create subdirectory: blogs
 1. Create file in subdirectory: index.php
 1. 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()`.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17036>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list