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

WordPress Trac noreply at wordpress.org
Wed Dec 14 03:43:00 UTC 2016


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

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


Comment:

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

 Props natereist, dlh
 Fixes #39211
 }}}

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


More information about the wp-trac mailing list