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

git-svn-id: http://svn.automattic.com/wordpress/trunk@10951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-04-16 18:28:35 +00:00
parent 0ed6972911
commit 328861f0e3
1 changed files with 1 additions and 1 deletions

View File

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