Created setup environment

This commit is contained in:
th.guenther committed 2024-02-27 11:33:24 +01:00
1 parent 18820c7191
commit 40a3b93d4b
6 files changed
+25 -122

No files matched your search

@@ -57,13 +57,13 @@ function enable_option_secure_include_dir() : bool {
function enable_option_prohibit_bot_access() {
update_option('protect_wp_prohibit_bot_access', true);
if (count(get_prohibitedbot_list()) == 0) {
set_prohibitedbot_list(_protect_wp_initial_bot_list_array());
}
}
function disable_option_prohibit_bot_access() {
update_option('protect_wp_prohibit_bot_access', false);
if (count(get_prohibitedbot_list()) == 0) {
set_prohibitedbot_list(_protect_wp_initial_bot_list_array());
}
}
function set_prohibitedbot_list($botList) {