Page templates should be relative to the theme ir, not the themes dir.

git-svn-id: https://develop.svn.wordpress.org/trunk@10951 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-04-16 18:28:35 +00:00
parent 18892308b0
commit f027b05dff
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ function get_page_templates() {
$name = $name[1];
if ( !empty( $name ) ) {
$page_templates[trim( $name )] = theme_basename( $template );
$page_templates[trim( $name )] = basename( $template );
}
}
}