Protection of WordPress logins
This commit is contained in:
@ -16,17 +16,13 @@ function bdp_update_dashboard_style() {
|
||||
|
||||
|
||||
function bdp_add_menu_security() {
|
||||
|
||||
$moduleLoad = get_admin_url() . 'admin.php?page=' . BDP_LV_PLUGIN_SLUG . '/modules/index.php&loadmodule=';
|
||||
|
||||
add_menu_page(
|
||||
'Sicherheit',
|
||||
'Webseiten-Sicherheit',
|
||||
'manage_options',
|
||||
'site-health.php',
|
||||
'',
|
||||
'dashicons-admin-network',
|
||||
5
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
function bdp_add_menu_contents() {
|
||||
@ -69,7 +65,7 @@ function bdp_add_menu_mein_lv() {
|
||||
$moduleLoad = get_admin_url() . 'admin.php?page=' . BDP_LV_PLUGIN_SLUG . '/modules/index.php&loadmodule=';
|
||||
|
||||
add_menu_page(
|
||||
'Mein BDP',
|
||||
'Mein BdP',
|
||||
'BdP',
|
||||
'manage_options',
|
||||
$mainSlug,
|
||||
@ -113,7 +109,7 @@ function bdp_add_menu_setup() {
|
||||
|
||||
add_submenu_page('users.php',
|
||||
'Design-Einstellungen',
|
||||
'Design',
|
||||
'Template bearbeiten',
|
||||
'manage_options',
|
||||
'customize.php?return=/wp-admin/'
|
||||
);
|
||||
@ -132,6 +128,22 @@ function bdp_add_menu_setup() {
|
||||
'manage_options',
|
||||
'themes.php'
|
||||
);
|
||||
|
||||
add_submenu_page('users.php',
|
||||
'Sicherheit',
|
||||
'Webseiten-Sicherheit',
|
||||
'manage_options',
|
||||
'site-health.php'
|
||||
);
|
||||
|
||||
$loginOption = new \Bdp\Modules\LimitLoginAttempts\Controllers\OptionsPage();
|
||||
add_submenu_page('users.php',
|
||||
'Login-Sicherheit',
|
||||
'Login-Sicherheit',
|
||||
'manage_options',
|
||||
BDP_LV_PLUGIN_SLUG . '-limit-login-attempts',
|
||||
[$loginOption, 'limit_login_option_page']
|
||||
);
|
||||
}
|
||||
|
||||
function bdp_cleanup_menu()
|
||||
|
Reference in New Issue
Block a user