Skip to content

Commit

Permalink
Fix for LifterLMS issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Lannoy committed Dec 1, 2020
1 parent d560c99 commit c395188
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ 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 2.0.1]
## [Unreleased - will be 2.1.0]

### Added
- Compatibility with LifterLMS (thanks to [vadimfish](https://wordpress.org/support/users/vadimfish/)).

### Fixed
- Sorting sessions by "idle" field may produce errors.
Expand All @@ -29,7 +32,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- If GeoIP support is not done via [IP Locator](https://wordpress.org/plugins/ip-locator/), the flags are now correctly downgraded to emojis.
- Anonymous proxies, satellite providers and private networks are now fully detected when [IP Locator](https://wordpress.org/plugins/ip-locator/) is installed.
- Admin notices are now set to "don't display" by default.
- Improved IP detection (thanks to [Ludovic Riaudel](https://github.com/lriaudel)).
- Improved IP detection (thanks to [Ludovic Riaudel](https://github.com/lriaudel)).
- Improved changelog readability.
- The integrated markdown parser is now [Markdown](https://github.com/cebe/markdown) from Carsten Brandt.
- Prepares PerfOps menus to future versions.
Expand Down
2 changes: 1 addition & 1 deletion includes/system/class-session.php
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ public static function init() {
if ( Option::network_get( 'forceip' ) ) {
$_SERVER['REMOTE_ADDR'] = IP::get_current();
}
add_action( 'init', [ self::class, 'initialize' ], PHP_INT_MAX );
add_action( 'set_current_user', [ self::class, 'initialize' ], PHP_INT_MAX );
}

/**
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', '2.0.0' );
define( 'POSE_VERSION', '2.1.0-dev1' );
define( 'POSE_CODENAME', '"-"' );
define( 'POSE_CDN_AVAILABLE', true );

0 comments on commit c395188

Please sign in to comment.