[wp-trac] [WordPress Trac] #35210: Add notification area to Customizer

WordPress Trac noreply at wordpress.org
Tue Sep 19 05:39:39 UTC 2017


#35210: Add notification area to Customizer
--------------------------------------+-----------------------------
 Reporter:  westonruter               |       Owner:  westonruter
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  4.9
Component:  Customize                 |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note  |     Focuses:  ui, javascript
--------------------------------------+-----------------------------

Comment (by westonruter):

 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/35210#comment:128>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list