mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-30 15:31:04 +01:00
54b2903296
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 |
||
---|---|---|
.. | ||
back-compat.php | ||
block-patterns.php | ||
color-patterns.php | ||
custom-header.php | ||
customizer.php | ||
icon-functions.php | ||
template-functions.php | ||
template-tags.php |