Plugin Directory

Changeset 2328681


Ignore:
Timestamp:
06/22/2020 03:07:06 PM (6 years ago)
Author:
stefanocanziani
Message:

Fix for PHP version 7.1 and higher

Location:
wp-database-session-handler/branches/1.0.1
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-database-session-handler/branches/1.0.1/readme.txt

    r1843426 r2328681  
    44Tags: session, database
    55Requires at least: 4.0
    6 Tested up to: 4.9.4
    7 Stable tag: 1.0.0
     6Tested up to: 5.4.2
     7Stable tag: 1.0.1
    88Requires PHP: 5.2.4
    99License: GPLv2 or later
     
    4444== Changelog ==
    4545
     46= 1.0.1 =
     47* Fixed compatibility with PHP > 7.1
     48
    4649= 1.0.0 =
    4750* First release.
     
    4952== Upgrade Notice ==
    5053
     54= 1.0.1 =
     55Upgrade if you use PHP 7.1 or higher
     56
    5157= 1.0 =
    5258First release.
  • wp-database-session-handler/branches/1.0.1/sc-session-handler.php

    r1843512 r2328681  
    44Plugin URI: http://www.stefanocanziani.com/wp_plugin/sc-session-handler.zip
    55Description: Add handling of user session inside SQL Database. This session manager is useful if you have an environment with more than one frontend server and a load balancer who switch the web traffic dinamically between frontend hosts.
    6 Version: 1.0.0
     6Version: 1.0.1
    77Author: Stefano Canziani
    88Author URI: http://www.stefanocanziani.com
     
    2727Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    2828
    29 Copyright 2018 Stefano Canziani.
     29Copyright 2018-2020 Stefano Canziani.
    3030*/
    3131
  • wp-database-session-handler/branches/1.0.1/session_handler.php

    r1843426 r2328681  
    170170                return $record['data'];
    171171            } else {
    172                 return false;
     172                return '';  //use empty string instead of null!
    173173            }
    174174        } else {
    175             return false;
     175            return '';  //use empty string instead of null!
    176176        }
    177177
Note: See TracChangeset for help on using the changeset viewer.