[wp-trac] [WordPress Trac] #31271: Allow is_page_template() to accept an array of templates to check.

WordPress Trac noreply at wordpress.org
Thu Mar 12 16:27:07 UTC 2015


#31271: Allow is_page_template() to accept an array of templates to check.
-------------------------------+---------------------------
 Reporter:  morganestes        |       Owner:  DrewAPicture
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:  4.2
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch commit   |     Focuses:  template
-------------------------------+---------------------------
Changes (by helen):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31754"]:
 {{{
 #!CommitTicketReference repository="" revision="31754"
 Allow `is_page_template()` to accept an array, as many other conditional
 tags do.

 props morganestes, tyxla, DrewAPicture.
 fixes #31271.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31271#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list