From 3b2137597dd5e8d2b3415d9ac5e09c2b79a97a40 Mon Sep 17 00:00:00 2001 From: Roman Axelrod Date: Mon, 11 Aug 2025 13:42:59 +0000 Subject: [PATCH] Update 'wp-import.php' --- wp-import.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 ) {