Customize: Add notifications API to sections and panels.
* Adds a `notifications` property to instances of `wp.customize.Panel` and `wp.customize.Section`. * Adds a `setupNotifications()` method to `Panel`, `Section`, and `Control`. * Adds a `getNotificationsContainerElement()` method to the `Panel` and `Section` classes, like `Control` has. * Replace hard-coded notification in header media section with a notification. * Limit rendering notifications to panels and sections that are expanded, and to controls that have an expanded section. See #34893, #35210, #38778. Fixes #38794. Built from https://develop.svn.wordpress.org/trunk@41390 git-svn-id: http://core.svn.wordpress.org/trunk@41223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
2
wp-admin/css/customize-controls.min.css
vendored
2
wp-admin/css/customize-controls.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user