New answers tagged

0

Sounds like you might already have your answer but I strongly recommand you to use DBSR (db search replace) to replace ALL occurrences of domain1 by domain2. There are tools for that. This one is pretty clean : https://github.com/interconnectit/Search-Replace-DB The whole process is described. There is a good UI. This way you'll be sure everything is ok ...


1

Ok, after having digged into WP source for a couple of hours, found a workaround. Simply tell wordpress to NOT remove old files. Now files are 100% overwritten and cached files maintained. Code is really simple add_filter('upgrader_package_options', 'avoid_deletion', 999); function avoid_deletion($options) { if($options['hook_extra']['plugin'] == 'my-...



Top 50 recent answers are included