[wp-trac] [WordPress Trac] #24674: WP_Query::is_page() should use stricter comparison

WordPress Trac noreply at wordpress.org
Fri Jul 5 11:01:11 UTC 2013


#24674: WP_Query::is_page() should use stricter comparison
--------------------------+------------------------------
 Reporter:  clifgriffin   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:  2.5
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch => needs-patch
 * version:  3.5.2 => 2.5
 * component:  General => Query


Comment:

 It's not just `WP_Query::is_page()`, other WP_Query methods
 (`is_author()`, `is_category()`, `is_single()`) follow the same pattern.
 Related: [6397], [6823], [15531].

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


More information about the wp-trac mailing list