[wp-trac] [WordPress Trac] #59252: is_front_page returns false when a static blog page has been set.
WordPress Trac
noreply at wordpress.org
Fri Nov 3 17:21:52 UTC 2023
#59252: is_front_page returns false when a static blog page has been set.
--------------------------+----------------------
Reporter: neo2k23 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 2.5
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by jorbin):
* status: new => closed
* version: trunk => 2.5
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
`is_front_page` and `is_home` date back to 2.5 and 1.5 respectfully, so
I'm adjust the version to match that.
#3682 is the ticket where `is_front_page` was added. ( [6704] and [6740]
are the commits to add is_front_page)
While I understand the confusion here, there is extensive documentation on
both https://developer.wordpress.org/reference/functions/is_front_page/
and https://developer.wordpress.org/reference/functions/is_home/ therefore
I'm closing this as invalid.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59252#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list