[wp-trac]
[WordPress Trac] #10215: Page Templates found in sub-dirs,
but not usable
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 19 03:46:57 GMT 2009
#10215: Page Templates found in sub-dirs, but not usable
--------------------------+-------------------------------------------------
Reporter: alexkingorg | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Unassigned
Component: Template | Version: 2.8
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Apologies if this is a duplicate - I tried to search but did not find
anything applicable.
In 2.8, the page template drop down lists page templates in sub-
directories where in previous versions only page templates in the theme
root dir were listed. This is a good change (IMO).
However, the implementation of this is not working properly as only the
filename of the page template is in the drop-down and stored for the post,
rather than the dir name and the file name:
pages/my-page.php
{{{
<option value="my-page.php">My Page</option>
}}}
instead of:
{{{
<option value="pages/my-page.php">My Page</option>
}}}
Because of this, the selected sub-dir page template does not get properly
applied.
I've been meaning to try to debug and get a patch, but haven't had a
chance yet and hear that the 2.8.1 release is looming, so wanted to get
this submitted.
I just confirmed this is still broken in current trunk 2009-06-18.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10215>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list