wp-media/search-and-replace

Add current blog name in case of a multisite installation

Opened this issue · 0 comments

widoz commented

In a multisite installation, when I try to dump a database the file I get is like wp_wp_.sql the table prefix is duplicated, this because we don't change the table prefix. Also, same case under Domain Replace.

Here the piece of code that define the file name: https://github.com/inpsyde/search-and-replace/blob/master/inc/Database/Exporter.php#L113-L115

Could be great in any case to include the current blog name, so user can remember easly which was the site he did a backup for.