Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#3437 closed defect (bug) (fixed)

Template Name: a extra space is required at the end of the name

Reported by: devil1591 Owned by: markjaquith
Priority: high Milestone: 2.1
Component: Template Version: 2.1
Severity: blocker Keywords: template name
Cc: Focuses:

Description

When you create a template name, you put the Template Name: tag, you have to put an extra space at the end of the template name in order to make it work when creating a new page with template.
the regexp is made to work that way
admin-function.php line 1295 "|Template Name:(.* )|i"
but I think this is a bug.

Example:
"Template Name: Archive template"<= doesn't work
"Template Name: Archive template "<= work

Change History (4)

#1 @devil1591
20 years ago

  • Milestone 2.1
  • Version → 2.1

#2 @JeremyVisser
20 years ago

  • Component Administration → Template
  • Priority normal → high

I confirm this bug. Thanks for the workaround, will try it! :)

#3 @markjaquith
20 years ago

  • Milestone → 2.1
  • Owner changed from anonymous to markjaquith
  • Status new → assigned

This appears to have been a typo in [4478] Nice catch. Not an issue for 2.0.x branch

#4 @markjaquith
20 years ago

  • Resolution → fixed
  • Status assigned → closed

(In [4610]) Fix Template Name and Description metadata regex typo. Props devil1591. fixes #3437

Note: See TracTickets for help on using tickets.