[wp-trac] [WordPress Trac] #34893: Improve Customizer setting validation model

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


#34893: Improve Customizer setting validation model
-------------------------------------------------+-------------------------
 Reporter:  westonruter                          |       Owner:
     Type:  enhancement                          |  westonruter
 Priority:  high                                 |      Status:  closed
Component:  Customize                            |   Milestone:  4.6
 Severity:  normal                               |     Version:  3.4
 Keywords:  has-patch has-screenshots has-unit-  |  Resolution:  fixed
  tests commit                                   |     Focuses:  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/34893#comment:70>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list