[wp-trac] [WordPress Trac] #26061: Customizer settings with non-scalar values incorrectly trigger as changed

WordPress Trac noreply at wordpress.org
Sun Sep 28 02:00:53 UTC 2014


#26061: Customizer settings with non-scalar values incorrectly trigger as changed
--------------------------+-----------------------
 Reporter:  westonruter   |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.1
Component:  Customize     |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------
Changes (by celloexpressions):

 * keywords:  needs-patch => has-patch
 * milestone:  Awaiting Review => 4.1


Comment:

 I believe we're nearly always enqueuing Underscore.js in the Customizer
 now for Widgets (along with Backbone.js), so we might as well use that
 version of isEqual here (#29572 also requires Underscore.js, via wp-
 util.js, which is being enqueued already anyway).

 [attachment:26061.3.diff] ended up just being a refresh of westonruter's
 original patch, and doesn't break IE11 for whatever reason. If we get this
 in soon someone'll definitely run into any bugs, but I'm guessing this
 should work fine now.

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


More information about the wp-trac mailing list