[wp-trac] [WordPress Trac] #38794: Customize: Allow panels and sections to have notifications just like controls can
WordPress Trac
noreply at wordpress.org
Tue Sep 19 05:39:42 UTC 2017
#38794: Customize: Allow panels and sections to have notifications just like
controls can
-------------------------------------------------+-------------------------
Reporter: westonruter | Owner:
Type: enhancement | westonruter
Priority: normal | Status: closed
Component: Customize | Milestone: 4.9
Severity: normal | Version: 4.6
Keywords: has-patch has-screenshots needs- | Resolution: fixed
dev-note | Focuses:
-------------------------------------------------+-------------------------
Changes (by westonruter):
* owner: => westonruter
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"41390"]:
{{{
#!CommitTicketReference repository="" revision="41390"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38794#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list