[wp-trac] [WordPress Trac] #31723: is_page( false ) === true ?

WordPress Trac noreply at wordpress.org
Sat Mar 21 22:50:59 UTC 2015

#31723: is_page( false ) === true ?
 Reporter:  Compute       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:

Comment (by valendesigns):

 Unfortunately, if we were to make that simple change and return `false`
 then 36 tests fail. I do agree that it seems wrong that it would return
 `true` in these situations, but doing anything about it would require a
 lot of refactoring of tests and could have wide sweeping backwards
 compatibility implications. I'm inclined to close as `wontfix` because of

Ticket URL: <https://core.trac.wordpress.org/ticket/31723#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list