Don't process page template description since it is not used. Props simonwheatley. fixes #7850

git-svn-id: https://develop.svn.wordpress.org/trunk@10706 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-03-04 20:51:06 +00:00
parent a2e52bff99
commit e38f8c8c94
1 changed files with 0 additions and 4 deletions

View File

@ -66,10 +66,6 @@ function get_page_templates() {
if ( preg_match( '|Template Name:(.*)$|mi', $template_data, $name ) )
$name = $name[1];
$description = '';
if( preg_match( '|Description:(.*)$|mi', $template_data, $description ) )
$description = $description[1];
if ( !empty( $name ) ) {
$page_templates[trim( $name )] = basename( $template );
}