[wp-trac] [WordPress Trac] #21268: _wp_page_template is getting 'stuck' to a page

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 13 22:21:42 UTC 2012


#21268: _wp_page_template is getting 'stuck' to a page
--------------------------+-----------------------------
 Reporter:  shawmutsteve  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.4.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Unmodified WP 3.4.1 / Ummodified TwentyEleven theme

 Create a page (id=2).  Manually add a postmeta entry for

 {{{
 post_id=2,
 meta_key = _wp_page_template,
 meta_value = pagefull.php
 }}}


 The page now opens with margin: 0 7.6%;  (correct!)

 Now try to change it back to default, either by removing the
 _wp_page_template postmeta record or by editing the page -> Page Attribute
 / Template.  The page will not revert back to Default.  It continually
 displays as Full Width, and a postmeta item telling post_id 2 to use
 _wp_page_template = pagefull.php is added.

 http://wp34.roveridx.com/?page_id=2

 This behavior does not happen in 3.3.2.

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


More information about the wp-trac mailing list