Customize: Register the Publish Settings section in JS to ensure it does not get unregistered via PHP.

The `publish_settings` section is a fundamental dependency for Customizer, so it must be guaranteed to be registered.

Also unconditionally register core types for panels, sections, and controls in case plugin unhooks all `customize_register` actions.

See #39896.
Fixes #42337.

Built from https://develop.svn.wordpress.org/trunk@42025


git-svn-id: http://core.svn.wordpress.org/trunk@41859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter
2017-10-25 21:45:49 +00:00
parent 3ed6bbf4a4
commit a6af74ec32
5 changed files with 31 additions and 32 deletions

File diff suppressed because one or more lines are too long