[wp-trac] [WordPress Trac] #26061: Customizer settings with non-scalar values incorrectly trigger as changed
WordPress Trac
noreply at wordpress.org
Wed Oct 15 18:25:45 UTC 2014
#26061: Customizer settings with non-scalar values incorrectly trigger as changed
--------------------------+----------------------
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:
--------------------------+----------------------
Changes (by ocean90):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"29907"]:
{{{
#!CommitTicketReference repository="" revision="29907"
Customizer: Don't trigger a change event if two unchanged object values
are equal, second pass.
Make Underscore.js a dependency for `customize-base` and use `_.isEqual()`
to compare the values.
(Underscore.js was already enqueued via wp-util.js for Widgets.)
props westonruter.
fixes #26061.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26061#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list