Skip to content

Commit

Permalink
Ready to release 1.1.2 on wp.org.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Lannoy committed May 15, 2020
1 parent f6b4565 commit 27acd63
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ All notable changes to **Sessions** are documented in this *changelog*.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and **Sessions** adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased - will be 1.1.2]
## [1.1.2] - 2020-05-15
### Changed
- Supports now Wordfence alerting system inconsistency.
### Fixed
- When used for the first time, settings checkboxes may remain checked after being unchecked.
- When Wordfence lock out an account, a warning maybe wrongly send to [DecaLog](https://wordpress.org/plugins/decalog/).

## [1.1.1] - 2020-05-05
### Changed
Expand Down
4 changes: 2 additions & 2 deletions includes/features/class-capture.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public static function init() {
* @since 1.0.0
*/
public static function late_init() {
add_action( 'wordfence_security_event', [ self::class, 'wordfence_security_event' ], 10, 3 );
add_action( 'wordfence_security_event', [ self::class, 'wordfence_security_event' ], 10, 1 );
}

/**
Expand Down Expand Up @@ -317,7 +317,7 @@ public static function jpp_kill_login( $ip ) {
*
* @since 1.6.0
*/
public function wordfence_security_event( $event, $details, $a ) {
public static function wordfence_security_event( $event, $details = null, $a = null ) {
if ( 'loginLockout' === $event || 'breachLogin' === $event ) {
self::$login_block ++;
Logger::info( 'Login blocked.' );
Expand Down
2 changes: 1 addition & 1 deletion init.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
define( 'POSE_PRODUCT_SHORTNAME', 'Sessions' );
define( 'POSE_PRODUCT_ABBREVIATION', 'posessions' );
define( 'POSE_SLUG', 'sessions' );
define( 'POSE_VERSION', '1.1.2-dev0' );
define( 'POSE_VERSION', '1.1.2' );
define( 'POSE_CODENAME', '"-"' );
define( 'POSE_CDN_AVAILABLE', true );

2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: authentication, login, protection, role, session
Requires at least: 5.2
Requires PHP: 7.2
Tested up to: 5.3
Stable tag: 1.1.1
Stable tag: 1.1.2
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down
2 changes: 1 addition & 1 deletion sessions.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Plugin Name: Sessions
* Plugin URI: https://github.com/Pierre-Lannoy/wp-sessions
* Description: Powerful sessions manager for WordPress with sessions limiter and full analytics reporting capabilities.
* Version: 1.1.1
* Version: 1.1.2
* Requires at least: 5.2
* Requires PHP: 7.2
* Author: Pierre Lannoy
Expand Down

0 comments on commit 27acd63

Please sign in to comment.