mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user