From d49a9ca0827c0124213436027bd127a49c99dfb6 Mon Sep 17 00:00:00 2001 From: EarthlingDavey <15802017+EarthlingDavey@users.noreply.github.com> Date: Mon, 18 Nov 2024 12:24:43 +0000 Subject: [PATCH] Update composer-post-install.sh --- bin/composer-post-install.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/composer-post-install.sh b/bin/composer-post-install.sh index d9e9808b6..278a82180 100755 --- a/bin/composer-post-install.sh +++ b/bin/composer-post-install.sh @@ -87,11 +87,9 @@ if grep -q $TREE_VIEW_SEARCH $TREE_VIEW_FILE ; then fi -# Plugin version check. ELASTIC_PRESS_TARGET_VERSION="5.1.3" verify_composer_package_version "wpackagist-plugin/elasticpress" $ELASTIC_PRESS_TARGET_VERSION -# Variables for the find and replace. ELASTIC_PRESS_FILE=/var/www/html/public/app/mu-plugins/elasticpress/includes/classes/Indexable/Post/SyncManager.php ELASTIC_PRESS_SEARCH="\t\$this->action_delete_post( \$post_id );" ELASTIC_PRESS_REPLACE="\t\$indexable->get( \$post_id ) \&\& \$this->action_delete_post( \$post_id );"