10up / MU-Migration

This WP-CLI plugin makes the process of moving sites from single WordPress sites to a Multisite instance (or vice-versa) much easier. It exports everything into a zip package which can be used to automatically import it within the desired Multisite installation.
MIT License
329 stars 47 forks source link

Closing #9 - export current theme(s) only #10

Closed jaysn closed 7 years ago

jaysn commented 8 years ago

updated export all to only export the currently activated theme and if it is a child theme also export the theme-template/parent theme.

This way not every theme installed in a multisite will be zipped.

closes #9

nicholasio commented 8 years ago

Thanks @jaysn for the PR, left some comments, once those are addressed I can merge the PR.

jaysn commented 7 years ago

Hi @nicholasio , i've removed the empty line and corrected the typo in file_to_zip.