Opened 7 years ago
Closed 7 years ago
#3437 closed defect (bug) (fixed)
Template Name: a extra space is required at the end of the name
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | 2.1 |
| Component: | Template | Version: | 2.1 |
| Severity: | blocker | Keywords: | template name |
| Cc: |
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)
comment:2
JeremyVisser
— 7 years ago
- Component changed from Administration to Template
- Priority changed from normal to high
comment:3
markjaquith
— 7 years ago
- Milestone set to 2.1
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned
This appears to have been a typo in [4478] Nice catch. Not an issue for 2.0.x branch
comment:4
markjaquith
— 7 years ago
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
I confirm this bug. Thanks for the workaround, will try it! :)