diff --git a/wp-import.php b/wp-import.php index 9c8a6f3..bd2d341 100644 --- a/wp-import.php +++ b/wp-import.php @@ -16,15 +16,15 @@ $domain = shell_exec( 'wp option get siteurl' ); $search_replace = trim( $domain ) . ' ' . trim( $staging_domain ); // Replace the domain in the database. -echo "--------------------------------"; -echo "Performing search and replace:"; -echo "wp search-replace $search_replace --all-tables"; -echo "--------------------------------"; +echo "-------------------------------- \n"; +echo "Performing search and replace: \n"; +echo "wp search-replace $search_replace --all-tables \n"; +echo "-------------------------------- \n"; try { echo shell_exec( "wp search-replace $search_replace --all-tables" ); } catch ( Exception $e ) { - echo "Error: " . $e->getMessage(); + echo "Error: " . $e->getMessage() . " \n"; exit( 1 ); } @@ -72,6 +72,7 @@ $plugins = [ 'neverbounce-hubspot', 'hotjar', 'insert-headers-and-footers', + 'better-wp-security', ]; foreach ( $plugins as $plugin ) {