Go to file
Weston Ruter 610b1f05de Customize: Link `elements` prior to embedding to prevent possible errors when a control is associated with a non-existent section.
Fixes issue specifically with attempting to access an orphaned control's `elements` immediately after it has been added. Normally this would not happen because a control would not be registered without a section, and also a control should only be interacted with once its `embedded` deferred has been resolved.

Also harden logic for gathering list of deferred setting IDs.

See #37964.
Fixes #42330.


git-svn-id: https://develop.svn.wordpress.org/trunk@42024 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-25 16:48:19 +00:00
src Customize: Link `elements` prior to embedding to prevent possible errors when a control is associated with a non-existent section. 2017-10-25 16:48:19 +00:00
tests Dashboard: Strip ports from IPs to avoid PHP warnings. 2017-10-25 00:06:06 +00:00
tools/i18n
.editorconfig General: Remove `.jshintrc` and `*.json` from the 2-space-indent `.editorconfig` group. 2017-10-12 01:57:45 +00:00
.gitignore
.jshintrc General: Remove `.jshintrc` and `*.json` from the 2-space-indent `.editorconfig` group. 2017-10-12 01:57:45 +00:00
.travis.yml
Gruntfile.js Media: Add missing `mediaelement-migrate.js` script to get uglified. 2017-10-18 02:25:06 +00:00
jsdoc.conf.json
package.json Build: Webpack instead of Browserify as JavaScript bundler. 2017-10-04 21:00:15 +00:00
phpunit.xml.dist
webpack.config.dev.js Build: Webpack instead of Browserify as JavaScript bundler. 2017-10-04 21:00:15 +00:00
webpack.config.prod.js Build: Webpack instead of Browserify as JavaScript bundler. 2017-10-04 21:00:15 +00:00
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php