#37472 closed defect (bug) (worksforme)
Static page settings when front page is either not selected or deleted
Reported by: | thinkupthemes | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.5.3 |
Component: | Posts, Post Types | Keywords: | |
Focuses: | Cc: |
Description
The function is_front_page()
returns false on the websites homepage if the following scenarios:
- A user assigns a static homepage, however later (for whatever reason) deletes the page from the pages section. Any code dependent on
is_front_page()
will no longer display on the homepage.
- A user selects the option "A static page" under Settings -> Reading, however doesn't assign a front page.
With regards to point 2 above, it may be helpful to notify the user that if they are choosing to use the static page setting then a front page should be assigned.
Change History (4)
#2
@
8 years ago
I think this may be fixed as I could not replicate the issue. is_front_page()
returned true regardless.
Note: See
TracTickets for help on using
tickets.
Related: #16379, #23669, #25456, #28763, #35758.