Builds on efforts brought forward in #17979. This will send sidebars through three levels of mapping: 1. If both themes have only one sidebar, that gets mapped. 2. If both themes have sidebars with the same slug, they get mapped. 3. Sidebars that (even partially) match slugs from a similar kind of sidebar will get mapped. Finally, if the theme has previously been active and we have a record of its sidebar configuration then, any unmapped sidebar will be restored to its previous state. Props westonruter, obenland, alexvorn2, timmydcrawford. See #39693. Built from https://develop.svn.wordpress.org/trunk@41555 git-svn-id: http://core.svn.wordpress.org/trunk@41388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
97 KiB
97 KiB