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

WordPress Trac noreply at wordpress.org
Mon Jul 8 13:34:46 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 needs-unit-tests  |
------------------------------------------+------------------------------

Comment (by clifgriffin):

 Attaching new patch with fixes for `is_author()`, `is_category()`,
 `is_single()` as well as `is_page()`.

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


More information about the wp-trac mailing list