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

WordPress Trac noreply at wordpress.org
Mon May 16 15:16:02 UTC 2016


#34893: Improve Customizer setting validation model
-------------------------------------------------+-------------------------
 Reporter:  westonruter                          |       Owner:
     Type:  enhancement                          |  westonruter
 Priority:  normal                               |      Status:  accepted
Component:  Customize                            |   Milestone:  4.6
 Severity:  normal                               |     Version:  3.4
 Keywords:  has-patch needs-testing needs-unit-  |  Resolution:
  tests has-screenshots                          |     Focuses:  javascript
-------------------------------------------------+-------------------------

Comment (by dlh):

 > But it could be that the notification could be obscured at the top as
 well for such a long control, right?

 True, except (I think) if you are in a different Customizer section when
 you save. In that case, it looks like you are brought back to top of the
 control with the notification at the bottom.

 > In such cases, perhaps it should just be left up to the custom control
 to just override the getNotificationsContainerElement to place the
 container at the appropriate spot?

 Yeah, that sounds like it could also be a straightforward approach.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34893#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list