Page Templates found in sub-dirs, but not usable
|Reported by:||alexkingorg||Owned by:|
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:
<option value="my-page.php">My Page</option>
<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.