Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Twenty Seventeen: Fixes front page panels allow pages of any status t…
…o 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. git-svn-id: https://develop.svn.wordpress.org/trunk@58687 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information