From af04e30e36e174a1f1fd4f95a106bf8b10422aa4 Mon Sep 17 00:00:00 2001 From: Moritz Date: Wed, 14 Aug 2024 11:54:13 +0200 Subject: [PATCH] add show_plugins command --- abra.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/abra.sh b/abra.sh index 83868fd..36a6a5b 100644 --- a/abra.sh +++ b/abra.sh @@ -89,3 +89,7 @@ set_authentik(){ fix_mysql() { echo "ALTER TABLE mysql.column_stats MODIFY histogram longblob; ALTER TABLE mysql.column_stats MODIFY hist_type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB','JSON_HB');" | mysql -u root -p$(cat /run/secrets/db_root_password) } + +show_plugins() { + wp "plugin list --fields=name,status,wporg_status,version,update_version,auto_update,tested_up_to,wporg_last_updated" +}