[wp-trac] [WordPress Trac] #37174: class-wp-customize-color-control.php fails when data.defaultValue is empty

WordPress Trac noreply at wordpress.org
Wed Aug 16 19:03:03 UTC 2017


#37174: class-wp-customize-color-control.php fails when data.defaultValue is empty
-------------------------+-------------------------------------------------
 Reporter:               |       Owner:  westonruter
  andreagobetti          |      Status:  closed
     Type:  defect       |   Milestone:  4.9
  (bug)                  |     Version:  4.1
 Priority:  normal       |  Resolution:  fixed
Component:  Customize    |     Focuses:  javascript, administration,
 Severity:  normal       |  template
 Keywords:  has-patch    |
-------------------------+-------------------------------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"41256"]:
 {{{
 #!CommitTicketReference repository="" revision="41256"
 Customize: Harden color control's logic for obtaining default value to
 prevent JS error when non-string default supplied.

 Props andreagobetti, yonivh for testing.
 Fixes #37174.
 }}}

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


More information about the wp-trac mailing list