[wp-trac] [WordPress Trac] #3437: Template Name: a extra space is required at the end of the name

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 5 10:46:16 GMT 2006


#3437: Template Name: a extra space is required at the end of the name
----------------------------+-----------------------------------------------
 Reporter:  devil1591       |       Owner:  anonymous    
     Type:  defect          |      Status:  new          
 Priority:  normal          |   Milestone:  2.1          
Component:  Administration  |     Version:               
 Severity:  blocker         |    Keywords:  template name
----------------------------+-----------------------------------------------
 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

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3437>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list