[wp-trac] [WordPress Trac] #18750: specify post ID for is_page_template

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 2 18:37:24 UTC 2012


#18750: specify post ID for is_page_template
--------------------------+-----------------------
 Reporter:  billerickson  |       Owner:  nacin
     Type:  enhancement   |      Status:  accepted
 Priority:  normal        |   Milestone:  3.4
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by nacin):

 we should return false when no page template is chosen for a page (as in,
 'default'). There is some history here.

 Primarily, #12653. We somewhat enforce _wp_page_template to be 'default'
 for pages. It should not be empty even when no special page template is
 chosen. Also see #18018 and #17458.

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


More information about the wp-trac mailing list