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

WordPress Trac noreply at wordpress.org
Sun Mar 22 11:05:53 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:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by valendesigns):

 That's an interesting approach. I didn't think about setting it to null.
 Though it still seems odd that a null value would return true.

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


More information about the wp-trac mailing list