__( 'Scanning', 'siteaudithub' ), 'integrity' => __( 'Plugins & Integrity', 'siteaudithub' ), 'notifications' => __( 'Notifications & Schedules', 'siteaudithub' ), 'login' => __( 'Login', 'siteaudithub' ), 'security' => __( 'Security', 'siteaudithub' ), 'forms' => __( 'Forms & Comments', 'siteaudithub' ), 'speed' => __( 'Speed & SEO', 'siteaudithub' ), 'data' => __( 'Privacy & Data', 'siteaudithub' ), ); $siteaudithub_tab = Admin::filter( 'tab', array_keys( $siteaudithub_tabs ) ); $siteaudithub_tab = $siteaudithub_tab ? $siteaudithub_tab : 'scanning'; $siteaudithub_s = Settings::all(); $siteaudithub_name = Settings::OPTION; /** * Field helpers (closures keep the global namespace clean). */ $siteaudithub_check = static function ( $key, $label, $help = '' ) use ( $siteaudithub_s, $siteaudithub_name ) { echo '
'; if ( $help ) { echo '

' . esc_html( $help ) . '

'; } echo '
'; }; $siteaudithub_number = static function ( $key, $label, $min, $max, $help = '', $suffix = '' ) use ( $siteaudithub_s, $siteaudithub_name ) { echo '
' . ( $suffix ? '' . esc_html( $suffix ) . '' : '' ) . '
'; if ( $help ) { echo '

' . esc_html( $help ) . '

'; } echo '
'; }; $siteaudithub_select = static function ( $key, $label, array $options, $help = '' ) use ( $siteaudithub_s, $siteaudithub_name ) { echo '
'; if ( $help ) { echo '

' . esc_html( $help ) . '

'; } echo '
'; }; ?>

true ), 'objects' ) as $siteaudithub_pt ) : ?> name ) { continue; } ?>

__( 'Off', 'siteaudithub' ), 'daily' => __( 'Daily', 'siteaudithub' ), 'weekly' => __( 'Weekly', 'siteaudithub' ), 'monthly' => __( 'Monthly', 'siteaudithub' ) ); ?>

__( 'Critical', 'siteaudithub' ), 'high' => __( 'High or worse', 'siteaudithub' ), 'medium' => __( 'Medium or worse', 'siteaudithub' ), 'never' => __( 'Never', 'siteaudithub' ), ) ); $siteaudithub_check( 'weekly_summary', __( 'Weekly summary email', 'siteaudithub' ) ); ?>

__( 'Show a "Page not found" (404) page', 'siteaudithub' ), 'home' => __( 'Redirect to the home page', 'siteaudithub' ), ) ); ?>
'; echo '' . esc_html( $label ) . ''; echo ''; echo '
' . ( $url ? '' : '' ) . '
'; echo '
'; echo ''; echo ''; echo '
'; echo '

' . esc_html( $help ) . '

'; echo ''; }; $siteaudithub_has_site_logo = Login_Branding::site_logo_id() || get_site_icon_url(); ?>

__( 'WordPress logo (default)', 'siteaudithub' ), 'site' => __( 'My site logo', 'siteaudithub' ), 'custom' => __( 'Upload a custom logo', 'siteaudithub' ), ), $siteaudithub_has_site_logo ? __( '"My site logo" uses the logo set in your theme (Appearance → Customize → Site Identity), or the site icon if there is no logo.', 'siteaudithub' ) : __( 'Your theme has no site logo or site icon yet. Add one under Appearance → Customize → Site Identity, or upload a custom logo here.', 'siteaudithub' ) ); $siteaudithub_media( 'login_brand_logo_id', __( 'Custom logo', 'siteaudithub' ), __( 'Used when "Upload a custom logo" is selected. A PNG with a transparent background works best.', 'siteaudithub' ) ); $siteaudithub_number( 'login_brand_logo_width', __( 'Logo width', 'siteaudithub' ), 40, 320, __( 'The height follows the image proportions.', 'siteaudithub' ), 'px' ); ?>

  1. define( 'SITEAUDITHUB_DISABLE_LOGIN_GUARD', true );

define( 'SITEAUDITHUB_DISABLE_LOGIN_LIMIT', true );