[wp-trac] [WordPress Trac] #16607: Theme Editor fails to list child theme files if the child theme dir starts with the parent theme dir name

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 21 18:52:40 UTC 2011


#16607: Theme Editor fails to list child theme files if the child theme dir starts
with the parent theme dir name
------------------------------+-----------------------
 Reporter:  chrisbliss18      |       Owner:  nacin
     Type:  defect (bug)      |      Status:  accepted
 Priority:  normal            |   Milestone:  3.1
Component:  Editor            |     Version:  3.1
 Severity:  major             |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------
Changes (by nacin):

 * severity:  normal => major


Comment:

 Also testing this on a PC due to the change in directory separators. Looks
 good. Template file looks like this:

 `C:\xampp\htdocs\trunk/wp-content/themes/twentyten/404.php`

 And template dir looks like:

 `C:\xampp\htdocs\trunk/wp-content/themes/twentyten`

 Adding a trailing slash takes care of it.

 (At worst, it fails, and the parent template shows anyway.)

 Looking into this further, it looks like I set up a variable but never
 used it. Going to clean that up on commit.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16607#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list