[wp-trac] [WordPress Trac] #24250: Notice thrown in get_page_template_slug in certain conditions

WordPress Trac noreply at wordpress.org
Tue May 7 18:44:22 UTC 2013


#24250: Notice thrown in get_page_template_slug in certain conditions
--------------------------+-----------------------------
 Reporter:  tollmanz      |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.6
Component:  Template      |     Version:  3.4
 Severity:  minor         |  Resolution:  fixed
 Keywords:                |
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"24191"]:
 {{{
 #!CommitTicketReference repository="" revision="24191"
 Avoid a PHP notice in get_page_template_slug() if the page does not exist.
 props tollmanz. fixes #24250.
 }}}

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


More information about the wp-trac mailing list