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

WordPress Trac noreply at wordpress.org
Sun Aug 11 23:29:11 UTC 2013


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

 * keywords:  needs-patch needs-unit-tests => needs-unit-tests has-patch
 * milestone:  Awaiting Review => 3.7


Comment:

 Someone setting a post's ID to zero should be a you-break-it-you-bought-it
 situation, but I guess we can discuss this in 3.7

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


More information about the wp-trac mailing list