[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 09:54:28 UTC 2015


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

 * keywords:  has-patch => has-patch commit


Comment:

 [attachment:31271.4.diff] adds tests for 'default'.

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


More information about the wp-trac mailing list