WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 2 months ago

#43754 new defect (bug)

Problem with is_page() function when gets "NULL" parameter

Reported by: pawels Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version: 4.9.5
Component: Posts, Post Types Keywords: reporter-feedback
Focuses: Cc:

Description

Problem with function is_page() when it gets "NULL" parameter then return "TRUE"

Change History (2)

#1 @soulseekah
2 years ago

Hey, welcome to Trac!

This is expected and tested behavior.

What's your use case?

#2 @markparnell
2 months ago

  • Component changed from General to Posts, Post Types
  • Keywords reporter-feedback added
Note: See TracTickets for help on using tickets.