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

WordPress Trac noreply at wordpress.org
Sun Mar 22 11:59:47 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:  needs-unit-tests  |     Focuses:
------------------------------+------------------------------
Changes (by boonebgorges):

 * keywords:   => needs-unit-tests


Comment:

 What exactly is the bug here, aside from the fact that it seems weird? Did
 an actual situation come up where you were passing `false` or `0` to
 `is_page()`?

 See #24674 [31458] for a related issue.

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


More information about the wp-trac mailing list