pixelgrade / customify

Intuitive Website Styling integrated into WordPress' Customizer
GNU General Public License v2.0
28 stars 5 forks source link

Changed the jetpack active modules hook #74

Closed andreistangacianu closed 7 years ago

andreistangacianu commented 7 years ago

I've changed the functionality for the way customify gets its jetpack active modules from a theme and removed the set_jetpack_modules_config because its hook came after default_option_jetpack_active_modules, so it was impossible for a theme to pass the modules it wanted to be active by default. So I rewrote the default_jetpack_active_modules function to get its active modules from the theme_mod. Pushed this in https://github.com/pixelgrade/customify/commit/d674e2569675524e8d66b66d4409abe5b2338657 Related to https://github.com/pixelgrade/osteria/issues/192