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

git-svn-id: http://svn.automattic.com/wordpress/trunk@10706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-03-04 20:51:06 +00:00
parent b37719c1f6
commit e3e53f3463

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 );
}