From e84d70122a09200d35ceca4dee3bec03b8e2e992 Mon Sep 17 00:00:00 2001 From: westi Date: Sat, 16 Aug 2008 20:38:07 +0000 Subject: [PATCH] Revert accidental change. See #7509. git-svn-id: http://svn.automattic.com/wordpress/trunk@8657 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 ); } } }