Wordpress/src/wp-content
Gary Pendergast 012cbda992 Twenty Seventeen: Ensure functions in `customize-controls.js` don't count on Customizer sections always being present
Before, the code assumed the `theme_options` section is always present, but it can be removed by plugins. This way, if it is, no JavaScript errors occur.

Merge of [39623] to the 4.7 branch.

Props westonruter.
Fixes #39355.



git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39632 602fd350-edb4-49c9-b593-d223f7449a82
2016-12-21 05:47:43 +00:00
..
plugins
themes Twenty Seventeen: Ensure functions in `customize-controls.js` don't count on Customizer sections always being present 2016-12-21 05:47:43 +00:00
index.php