Skip to content
Commit befa6871 authored by Daryl Koopersmith's avatar Daryl Koopersmith
Browse files

Theme Customizer: Improve data binding in wp.customize.Value and wp.customize.Values. see #19910.

* Replace the convoluted wp.customize.Value.link method with a simple shortcut for direct binding.
* Add wp.customize.Value.sync for bidirectional linking.
* Add wp.customize.Value.setter for handling compound values (instead of using wp.customize.Value.link).

git-svn-id: https://core.svn.wordpress.org/trunk@20344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent ad7c02e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment