Make WordPress Core


Ignore:
Timestamp:
03/04/2009 08:51:06 PM (16 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/theme.php

    r9053 r10706  
    6767                $name = $name[1];
    6868
    69             $description = '';
    70             if( preg_match( '|Description:(.*)$|mi', $template_data, $description ) )
    71                 $description = $description[1];
    72 
    7369            if ( !empty( $name ) ) {
    7470                $page_templates[trim( $name )] = basename( $template );
Note: See TracChangeset for help on using the changeset viewer.