[wp-trac] [WordPress Trac] #30031: Changing a ColorControl's setting via JS fails to update control's state

WordPress Trac noreply at wordpress.org
Fri Oct 31 20:44:20 UTC 2014


#30031: Changing a ColorControl's setting via JS fails to update control's state
--------------------------+-------------------------
 Reporter:  westonruter   |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  Customize     |     Version:  3.4
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-------------------------
Changes (by ocean90):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"30126"]:
 {{{
 #!CommitTicketReference repository="" revision="30126"
 Customizer: Improve `ColorControl`'s `wpColorPicker` to update UI based on
 setting changes.

 Update Twenty Fifteen's `colorScheme` control to properly interact with
 the API, using `wp.customize.control()` instead of traversing DOM for
 other controls' container elements and stop manually updating color
 control UIs.

 props westonruter.
 fixes #30031.
 }}}

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


More information about the wp-trac mailing list