Show template files in subdirs. Props DD32. fixes #4131

git-svn-id: https://develop.svn.wordpress.org/trunk@10835 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-03-25 16:51:08 +00:00
parent 759fde9021
commit a1037e9954
3 changed files with 44 additions and 7 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ function get_page_templates() {
$name = $name[1];
if ( !empty( $name ) ) {
$page_templates[trim( $name )] = basename( $template );
$page_templates[trim( $name )] = theme_basename( $template );
}
}
}