[wp-trac] [WordPress Trac] #46604: Twenty Seventeen: Front page panels allow pages of any status to be shown.
WordPress Trac
noreply at wordpress.org
Mon Jul 8 10:43:38 UTC 2024
#46604: Twenty Seventeen: Front page panels allow pages of any status to be shown.
--------------------------------------------+-------------------------
Reporter: brettshumaker | Owner: karmatosed
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: Bundled Theme | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing commit | Focuses:
--------------------------------------------+-------------------------
Changes (by karmatosed):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"58687" 58687]:
{{{
#!CommitTicketReference repository="" revision="58687"
Twenty Seventeen: Fixes front page panels allow pages of any status to be
shown.
If you have a published page set to a section but also private, draft,
pending or trash at some point in the future it was still showing on the
homepage. There was no clarity to the user what was happening. This adds
in a check to the post_status variable before displaying panel content and
adjusts the customizer to show a placeholder if the page is
draft,trashed,deleted.
Props brettshumaker, sabernhardt.
Fixes #46604.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46604#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list