芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/optimyar/wp-content/plugins/ithemes-security-pro/core/modules/ban-users/init.php
get( Database_Repository::class ); if ( $context instanceof Context && $lockout = $context->get_lockout_module() ) { $actor = new Lockout_Module( $lockout ); } else { $actor = null; } $ban = new Ban( $ip, $actor ); try { $repository->persist( $ban ); } catch ( \iThemesSecurity\Exception\WP_Error $e ) { } } add_action( 'itsec_new_banned_ip', 'itsec_ban_users_handle_new_banned_ip', 10, 2 );