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

WordPress Trac noreply at wordpress.org
Tue Jul 9 03:15:57 UTC 2013


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

 * keywords:  has-patch => has-patch commit
 * milestone:  Awaiting Review => 3.6


Comment:

 Could probably just be `if ( $name )`, as we know the variable is set.

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


More information about the wp-trac mailing list