From 3c381f82952714823e33c556de6f27344fa0efcb Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 28 May 2021 18:49:09 +0900 Subject: [PATCH] =?UTF-8?q?WP=20PLUGIN=20MTEE(Meta=20Tag=20etc=20Extend)?= =?UTF-8?q?=20=E3=83=97=E3=83=A9=E3=82=B0=E3=82=A4=E3=83=B3=E5=89=8A?= =?UTF-8?q?=E9=99=A4=E6=99=82=E3=81=AE=E6=8A=95=E7=A8=BF=E3=80=81=E3=82=AB?= =?UTF-8?q?=E3=83=86=E3=82=B4=E3=83=AA=E7=AD=89=E3=81=AEmeta=E3=83=87?= =?UTF-8?q?=E3=83=BC=E3=82=BF=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ・プラグイン削除時に投稿、カテゴリ等のメタデータを削除するようuninstall.phpにSQLを追加 --- uninstall.php | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/uninstall.php b/uninstall.php index 31b51d4..9459c58 100644 --- a/uninstall.php +++ b/uninstall.php @@ -1,20 +1,29 @@ prefix . $table . ' WHERE meta_key IN(' . $delete_targets . ')'; + $wpdb->query($stmnt); +} \ No newline at end of file