Make WordPress Core

Changeset 4610


Ignore:
Timestamp:
12/05/2006 12:29:08 PM (18 years ago)
Author:
markjaquith
Message:

Fix Template Name and Description metadata regex typo. Props devil1591. fixes #3437

File:
1 edited

Legend:

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

    r4605 r4610  
    12931293        foreach ( $templates as $template ) {
    12941294            $template_data = implode( '', file( ABSPATH.$template ));
    1295             preg_match( "|Template Name:(.* )|i", $template_data, $name );
    1296             preg_match( "|Description:(.* )|i", $template_data, $description );
     1295            preg_match( "|Template Name:(.*)|i", $template_data, $name );
     1296            preg_match( "|Description:(.*)|i", $template_data, $description );
    12971297
    12981298            $name = $name[1];
Note: See TracChangeset for help on using the changeset viewer.