Revert accidental change. See #7509.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -44,7 +44,7 @@ function get_page_templates() {
|
|||||||
$description = $description[1];
|
$description = $description[1];
|
||||||
|
|
||||||
if ( !empty( $name ) ) {
|
if ( !empty( $name ) ) {
|
||||||
$page_templates[trim( $name )] = theme_basename( $template );
|
$page_templates[trim( $name )] = basename( $template );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user