[wp-trac] [WordPress Trac] #37472: Static page settings when front page is either not selected or deleted
WordPress Trac
noreply at wordpress.org
Tue Jul 26 16:30:02 UTC 2016
#37472: Static page settings when front page is either not selected or deleted
---------------------------+-----------------------------
Reporter: thinkupthemes | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.5.3
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
The function {{{is_front_page()}}} returns false on the websites homepage
if the following scenarios:
1. 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.
2. 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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37472>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list