・WordPress6.9動作確認

・PHP8.3対応修正
This commit is contained in:
2025-12-16 20:13:03 +09:00
parent fa672eb78f
commit d8afed24d5
3 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ if ( ! class_exists( 'conv_protection_txt' ) ) {
}
public function show_text_option_page() {
$update_option = filter_input( INPUT_POST, 'conv_protection_options', FILTER_SANITIZE_STRING, FILTER_REQUIRE_ARRAY );
$update_option = filter_input( INPUT_POST, 'conv_protection_options', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY );
if ( ! empty( $update_option ) ) {
check_admin_referer( 'conv_options' );
update_option( 'conv_protection_options', $update_option );