[wp-trac] [WordPress Trac] #24714: get_template_part : !empty instead of isset ?

WordPress Trac noreply at wordpress.org
Tue Jul 9 20:31:05 UTC 2013


#24714: get_template_part : !empty instead of isset ?
------------------------------+---------------------
 Reporter:  tivnet            |       Owner:  nacin
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.6
Component:  Template          |     Version:  3.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by nacin):

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


Comment:

 In [changeset:"24616"]:
 {{{
 #!CommitTicketReference repository="" revision="24616"
 In general template functions, cast to string then ensure we actually have
 a template name before proceeding. Affects get_sidebar(), get_header(),
 get_footer(), get_template_part().

 props tivnet for initial patch.
 fixes #24714.
 }}}

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


More information about the wp-trac mailing list