', esc_html( $value ) ); } /** * Section blurb. * * @since 4.0.0 */ public function sectionGeo() { } /** * MaxMind database. * * @since 4.0.0 */ public function database() { $settings = get_option( 'wp-fail2ban' ); $exists = file_exists( @$settings['remote-ip']['maxmind']['path'] ); $fmt = <<<__FMT__

%s

__FMT__; printf( $fmt, checked( $exists, false, false ), ( $exists ? __( 'Last modified: ' ) . gmdate( DATE_RFC1123, $settings['remote-ip']['maxmind']['modified'] ) : __( 'No database found.' ) ) ); } } new TabRemoteIPs();