[wp-trac] [WordPress Trac] #39211: is_page_template could return true on terms

WordPress Trac noreply at wordpress.org
Fri Dec 16 05:40:03 UTC 2016


#39211: is_page_template could return true on terms
-------------------------------------------------+-------------------------
 Reporter:  natereist                            |       Owner:
     Type:  defect (bug)                         |  johnbillion
 Priority:  normal                               |      Status:  closed
Component:  Posts, Post Types                    |   Milestone:  4.7.1
 Severity:  normal                               |     Version:  4.7
 Keywords:  has-patch has-unit-tests fixed-      |  Resolution:  fixed
  major                                          |     Focuses:  template
-------------------------------------------------+-------------------------
Changes (by dd32):

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


Comment:

 In [changeset:"39608"]:
 {{{
 #!CommitTicketReference repository="" revision="39608"
 Posts, Post Types: Ensure `is_page_template()` can only return true when
 viewing a singular post query.

 Props natereist, dlh, johnbillion.
 Merges [39599] to the 4.7 branch.
 Fixes #39211.
 }}}

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


More information about the wp-trac mailing list