WordPressプラグイン指摘事項修正

This commit is contained in:
2024-07-19 18:42:09 +09:00
parent 1390e315a6
commit 961a591e61
6 changed files with 44 additions and 30 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
} // Exit if accessed directly
if ( ! class_exists( 'conv_protection_txt_settings' ) ) {
class conv_protection_txt_settings{
const ALERT_TEXT = 'このコンテンツはパスワードで保護されています。閲覧するには以下にパスワードを入力してください。';
const BTN_LABEL = 'パスワード';
const BTN_TEXT = '確定';
const TEMPLATE_DIR = __DIR__ . '/../template/';
}
}