Make WordPress Core

Changeset 4809


Ignore:
Timestamp:
01/25/2007 07:42:30 PM (18 years ago)
Author:
markjaquith
Message:

Template Name: regex fixup by gjorgensen. fixes #3674

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r4802 r4809  
    16031603    elseif ( file_exists( ABSPATH . $file ) && is_file( ABSPATH . $file ) ) {
    16041604        $template_data = implode( '', file( ABSPATH . $file ) );
    1605         if ( preg_match( "|Template Name:(.* )|i", $template_data, $name ))
     1605        if ( preg_match( "|Template Name:(.*)|i", $template_data, $name ))
    16061606            return $name[1];
    16071607    }
Note: See TracChangeset for help on using the changeset viewer.