[wp-trac] [WordPress Trac] #21909: Twenty Twelve: rename home page template to front-page

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 18 04:24:10 UTC 2012


#21909: Twenty Twelve: rename home page template to front-page
---------------------------+------------------
 Reporter:  lancewillett   |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.5
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------

Comment (by lancewillett):

 Anyone using Twenty Twelve in its beta mode via core trunk will need to
 resave any page that uses the front-page template, due to the template
 name change. The {{{_wp_page_template}}} post meta value should go from
 {{{page-templates/home.php}}} to {{{page-templates/front-page.php}}} for
 those pages.

 Child theme authors should check their CSS as the following selector
 values are changing:

 1. {{{s/template-home/template-front-page/}}}
 1. {{{s/home-widgets/front-widgets/}}}

 For WP.com I'll add a filter to the theme version there to update all the
 post meta values on each site on the fly, so nothing breaks in terms of
 page templates. I'll also fix the Custom CSS cases on WP.com by hand for
 the new CSS selectors -- after an audit I only found a few, maybe 5-6
 sites that would be affected.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21909#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list