From cd7f6fd0a56e2c4969effcbc2aeb26d47a42704c Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 21 May 2021 19:27:31 +0900 Subject: [PATCH] =?UTF-8?q?WP=5FPLUGIN=E3=80=80=E3=83=91=E3=82=B9=E3=83=AF?= =?UTF-8?q?=E3=83=BC=E3=83=89=E4=BF=9D=E8=AD=B7=E3=83=9A=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=81=AE=E3=83=86=E3=82=AD=E3=82=B9=E3=83=88=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ファイル名、クラス名等修正 --- convert-protection-text.php | 135 ++++++++++++++++++++++++++++++++++++ nb-protection-text.php | 132 ----------------------------------- uninstall.php | 2 +- 3 files changed, 136 insertions(+), 133 deletions(-) create mode 100644 convert-protection-text.php delete mode 100644 nb-protection-text.php diff --git a/convert-protection-text.php b/convert-protection-text.php new file mode 100644 index 0000000..053eff7 --- /dev/null +++ b/convert-protection-text.php @@ -0,0 +1,135 @@ + +

設定を保存しました

+
+

+

アクセス権限ページ設定

+
+ + + + + + + + + + + + + + + + + + +
+ + + + + + + +
メッセージ + +
ボタンラベル + +
ボタン名 + +
+

+
+
+ +

' . nl2br( $alert_text ) . '

+

'; + } +} + +new CNV_Protection_Text; \ No newline at end of file diff --git a/nb-protection-text.php b/nb-protection-text.php deleted file mode 100644 index 54d612c..0000000 --- a/nb-protection-text.php +++ /dev/null @@ -1,132 +0,0 @@ - -

設定を保存しました

-
-

-

アクセス権限ページ設定

-
- - - - - - - - - - - - - - - - - - -
- - - - - - - -
メッセージ - -
ボタンラベル - -
ボタン名 - -
-

-
-
- -

' . nl2br( $alert_text ) . '

-

'; - } -} - -$showtext = new NB_ProtectionText; \ No newline at end of file diff --git a/uninstall.php b/uninstall.php index 4a21fe7..c9dea9c 100644 --- a/uninstall.php +++ b/uninstall.php @@ -5,4 +5,4 @@ if (!defined('WP_UNINSTALL_PLUGIN')) { } // オプション設定の削除 -delete_option('nb_protect_options'); \ No newline at end of file +delete_option('_cnv_protect_options'); \ No newline at end of file