WordPress/wp-content/themes/twentyseventeen/inc
Tammie Lister 54b2903296 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.

Built from https://develop.svn.wordpress.org/trunk@58687


git-svn-id: http://core.svn.wordpress.org/trunk@58089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-08 10:45:18 +00:00
..
back-compat.php Coding Standards: Remove a one-time `$message` variable in WordPress version requirement notices for bundled themes. 2021-06-15 15:24:58 +00:00
block-patterns.php Bundled Theme: Fix a couple of incorrect theme name references. 2024-01-22 12:20:12 +00:00
color-patterns.php Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00
custom-header.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
customizer.php Bundled Theme: Update default themes to use new script function signature. 2023-09-06 21:23:20 +00:00
icon-functions.php Twenty Seventeen: Revert usage of `str_contains()` in theme files. 2024-01-12 19:12:14 +00:00
template-functions.php Coding Standards: Use pre-increment/decrement for stand-alone statements. 2023-09-09 09:28:26 +00:00
template-tags.php Twenty Seventeen: Fixes front page panels allow pages of any status to be shown. 2024-07-08 10:45:18 +00:00