From 8a83012b1a2c091b7c8b5eb0b164aaf1918c2c1d Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Sat, 16 Aug 2008 20:38:07 +0000 Subject: [PATCH] Revert accidental change. See #7509. git-svn-id: https://develop.svn.wordpress.org/trunk@8657 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index 0512fd3d69..18a77b37fd 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -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 ); } } }