Automattic / vip-go-wpcom-compat

VIP Go / WordPress.com Compatibility
https://wpvip.com
2 stars 6 forks source link

Migrate custom CSS #22

Closed joshbetz closed 5 years ago

joshbetz commented 5 years ago

We should copy the custom CSS option from WordPress.com and save them in the appropriate place on the new site. We can hook into the vip_after_data_migration to do this automatically after a migration. The Jetpack_Custom_CSS::save_revision function is one option for saving the CSS on the VIP Go side.

joshbetz commented 5 years ago

Custom CSS is migrated automatically as long as Jetpack is enabled https://github.com/Automattic/jetpack/blob/master/modules/custom-css/migrate-to-core.php