144 lines
4.9 KiB
PHP
144 lines
4.9 KiB
PHP
<?php
|
|
|
|
/**
|
|
* About
|
|
*
|
|
* @package wp-fail2ban
|
|
* @since 4.2.0
|
|
*/
|
|
namespace org\lecklider\charles\wordpress\wp_fail2ban;
|
|
|
|
if ( !defined( 'ABSPATH' ) ) {
|
|
exit;
|
|
}
|
|
/**
|
|
* About content
|
|
*
|
|
* @since 4.2.0
|
|
*
|
|
* @param bool $hide_title
|
|
*/
|
|
function about( $hide_title = false )
|
|
{
|
|
$wp_f2b_ver = substr( WP_FAIL2BAN_VER, 0, strrpos( WP_FAIL2BAN_VER, '.' ) );
|
|
?>
|
|
<div class="wrap">
|
|
<style>
|
|
div.inside ul {
|
|
list-style: disc;
|
|
padding-left: 2em;
|
|
}
|
|
</style>
|
|
<?php
|
|
if ( !$hide_title ) {
|
|
?>
|
|
<h1>WP fail2ban</h1>
|
|
<?php
|
|
}
|
|
?>
|
|
<div id="poststuff">
|
|
<div id="post-body" class="metabox-holder columns-2">
|
|
<div id="post-body-content">
|
|
<div class="meta-box-sortables ui-sortable">
|
|
<div class="postbox">
|
|
<h2>Version 4.2.5</h2>
|
|
<div class="inside">
|
|
<ul>
|
|
<li>Properly fix PHP 5.3 support; tested on CentOS 6. Does not support any UI or Premium features.</li>
|
|
<li>Fix potential issue with <tt>WP_FAIL2BAN_BLOCK_USER_ENUMERATION</tt> if calling REST API or XMLRPC from admin area.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="meta-box-sortables ui-sortable">
|
|
<div class="postbox">
|
|
<h2>Version 4.2.4</h2>
|
|
<div class="inside">
|
|
<ul>
|
|
<li>Add filter for login failed message.</li>
|
|
<li>Fix logging spam comments from admin area.</li>
|
|
<li>Fix Settings link from Plugins page.</li>
|
|
<li>Update Freemius library.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="meta-box-sortables ui-sortable">
|
|
<div class="postbox">
|
|
<h2>Version 4.2.3</h2>
|
|
<div class="inside">
|
|
<ul>
|
|
<li>Workaround for some versions of PHP 7.x that would cause <tt>define()</tt>s to be ignored.</li>
|
|
<li>Add config note to settings tabs.</li>
|
|
<li>Fix documentation links.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="meta-box-sortables ui-sortable">
|
|
<div class="postbox">
|
|
<h2>Version 4.2.2</h2>
|
|
<div class="inside">
|
|
<ul>
|
|
<li>Fix 5.3 compatibility.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="meta-box-sortables ui-sortable">
|
|
<div class="postbox">
|
|
<h2>Version 4.2.1</h2>
|
|
<div class="inside">
|
|
<ul>
|
|
<li>Completed support for <tt><a href="https://docs.wp-fail2ban.com/en/4.2/defines/WP_FAIL2BAN_COMMENT_EXTRA_LOG.html" target="docs.wp-fail2ban.com">WP_FAIL2BAN_COMMENT_EXTRA_LOG</a></tt>.</li>
|
|
<li>Add support for 3rd-party plugins; see <a href="https://docs.wp-fail2ban.com/en/4.2/developers.html" target="docs.wp-fail2ban.com">Developers</a>.<br>
|
|
<p><ul>
|
|
<li>Add-on for <a href="https://wordpress.org/plugins/wp-fail2ban-addon-contact-form-7/">Contact Form 7</a> (experimental).</li>
|
|
<li>Add-on for <a href="https://wordpress.org/plugins/wp-fail2ban-addon-gravity-forms/">Gravity Forms</a> (experimental).</li>
|
|
</ul></p>
|
|
</li>
|
|
<li>Change logging for known-user with incorrect password; previously logged as unknown user and matched by <tt>hard</tt> filters (due to limitations in older versions of WordPress), now logged as known user and matched by <tt>soft</tt>.</li>
|
|
<li>Bugfix for email-as-username - now logged correctly and matched by <tt>soft</tt>, not <tt>hard</tt>, filters.</li>
|
|
<li>Bugfix for regression in code to prevent Free/Premium conflict.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="postbox-container-1" class="postbox-container">
|
|
<div class="meta-box-sortables">
|
|
<div class="postbox">
|
|
<h2>Getting Started</h2>
|
|
<div class="inside">
|
|
<ol>
|
|
<li><a href="https://docs.wp-fail2ban.com/en/<?php
|
|
echo $wp_f2b_ver ;
|
|
?>/introduction.html" target="docs.wp-fail2ban.com">Introduction</a></li>
|
|
<li><a href="https://docs.wp-fail2ban.com/en/<?php
|
|
echo $wp_f2b_ver ;
|
|
?>/configuration.html" target="docs.wp-fail2ban.com">Configuration</a></li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
<div class="postbox">
|
|
<h2>Getting Help</h2>
|
|
<div class="inside">
|
|
<ul>
|
|
<?php
|
|
if ( wf_fs()->is_free_plan() ) {
|
|
?>
|
|
<li><a href="https://wordpress.org/support/plugin/wp-fail2ban/" target="_blank">WordPress.org Forum</a></li>
|
|
<?php
|
|
}
|
|
?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<?php
|
|
}
|