Revert accidental change. See #7509.
git-svn-id: https://develop.svn.wordpress.org/trunk@8657 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e1adf1d070
commit
8a83012b1a
|
@ -44,7 +44,7 @@ function get_page_templates() {
|
|||
$description = $description[1];
|
||||
|
||||
if ( !empty( $name ) ) {
|
||||
$page_templates[trim( $name )] = theme_basename( $template );
|
||||
$page_templates[trim( $name )] = basename( $template );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue