Customize: Show notification error with "Your homepage displays" control when homepage and posts page are set to be the same (but not empty).
* Show global error notiafication when saving is blocked due to client-side setting invalidity. * Refactor `wp.customize.Notifications#render()` to ensure a notification re-renders if its `message` or data changes but its `code` does not. Props MatheusGimenez, sixhours, westonruter, karmatosed, aocean90, zoonini, michelleweber, melchoyce. See #35210. Fixes #21492. Built from https://develop.svn.wordpress.org/trunk@41389 git-svn-id: http://core.svn.wordpress.org/trunk@41222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -840,6 +840,17 @@ p.customize-section-description {
|
||||
|
||||
/* Style for custom settings */
|
||||
|
||||
/**
|
||||
* Static front page
|
||||
*/
|
||||
|
||||
#customize-control-show_on_front.has-error {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
#customize-control-show_on_front.has-error .customize-control-notifications-container {
|
||||
margin-top:12px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Dropdowns
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user