Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

destroy() should return with a value #99

Merged
merged 2 commits into from
May 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
**Tags:** comments, sessions
**Requires at least:** 3.0.1
**Tested up to:** 4.9
**Stable tag:** 0.6.8
**Stable tag:** 0.6.9
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -66,6 +66,9 @@ However, if you intend to scale your application, local tempfiles are a dangerou

## Changelog ##

### 0.6.9 (May 15th, 2018) ###
* Ensures `_pantheon_session_destroy()` uses a return value.

### 0.6.8 (May 4th, 2018) ###
* Switches to `E_USER_WARNING` instead of `E_WARNING` when triggering errors.

Expand Down
1 change: 1 addition & 0 deletions callbacks.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ function _pantheon_session_destroy( $sid ) {

$session->destroy();

return true;
}

/**
Expand Down
4 changes: 2 additions & 2 deletions pantheon-sessions.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Plugin Name: Native PHP Sessions for WordPress
* Version: 0.6.8
* Version: 0.6.9
* Description: Offload PHP's native sessions to your database for multi-server compatibility.
* Author: Pantheon
* Author URI: https://www.pantheon.io/
Expand All @@ -12,7 +12,7 @@

use Pantheon_Sessions\Session;

define( 'PANTHEON_SESSIONS_VERSION', '0.6.8' );
define( 'PANTHEON_SESSIONS_VERSION', '0.6.9' );

class Pantheon_Sessions {

Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: getpantheon, outlandish josh, mpvanwinkle77, danielbachhuber
Tags: comments, sessions
Requires at least: 3.0.1
Tested up to: 4.9
Stable tag: 0.6.8
Stable tag: 0.6.9
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -66,6 +66,9 @@ If you see an error like "Fatal error: session_start(): Failed to initialize sto

== Changelog ==

= 0.6.9 (May 15th, 2018) =
* Ensures `_pantheon_session_destroy()` uses a return value.

= 0.6.8 (May 4th, 2018) =
* Switches to `E_USER_WARNING` instead of `E_WARNING` when triggering errors.

Expand Down