Plugin Directory

Changeset 2995412


Ignore:
Timestamp:
11/13/2023 07:22:51 PM (2 years ago)
Author:
getpantheon
Message:

Update to version 1.4.3 from GitHub

Location:
wp-native-php-sessions
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wp-native-php-sessions/tags/1.4.3/pantheon-sessions.php

    r2992283 r2995412  
    22/**
    33 * Plugin Name: Native PHP Sessions for WordPress
    4  * Version: 1.4.2
     4 * Version: 1.4.3
    55 * Description: Offload PHP's native sessions to your database for multi-server compatibility.
    66 * Author: Pantheon
     
    1414use Pantheon_Sessions\Session;
    1515
    16 define( 'PANTHEON_SESSIONS_VERSION', '1.4.2' );
     16define( 'PANTHEON_SESSIONS_VERSION', '1.4.3' );
    1717
    1818/**
     
    540540        if ( ! $wpdb->get_var( $query ) == $table ) {
    541541            $this->safe_output( __( 'This site does not have a pantheon_sessions table, and is being skipped.', 'wp-native-php-sessions' ), 'log' );
    542             $output['no_session_table'] = $output['no_session_table'] + 1;
     542            $output['no_session_table'] = isset( $output['no_session_table'] ) ? $output['no_session_table'] + 1 : 1;
    543543
    544544            return $output;
     
    560560            }
    561561
    562             $output['id_column_exists'] = $output['id_column_exists'] + 1;
     562            $output['id_column_exists'] = isset( $output['id_column_exists'] ) ? $output['id_column_exists'] + 1 : 1;
    563563            $this->safe_output( __( 'ID column already exists and does not need to be added to the table.', 'wp-native-php-sessions' ), $type );
    564564
     
    644644                $type = 'error';
    645645            } else {
    646                 $output['no_old_table'] = $output['no_old_table'] + 1;
     646                $output['no_old_table'] = isset( $output['no_old_table'] ) ? $output['no_old_table'] + 1 : 1;
    647647                $type = 'log';
    648648            }
     
    689689        if ( ! $wpdb->get_var( $query ) == $old_clone_table ) {
    690690            $this->safe_output( __( 'There is no old table to roll back to.', 'wp-native-php-sessions' ), $type );
    691             $output['no_rollback_table'] = $output['no_rollback_table'] + 1;
     691            $output['no_rollback_table'] = isset( $output['no_rollback_table'] ) ? $output['no_rollback_table'] + 1 : 1;
    692692
    693693            return $output;
  • wp-native-php-sessions/tags/1.4.3/readme.txt

    r2992283 r2995412  
    11=== WordPress Native PHP Sessions ===
    2 Contributors: getpantheon, outlandish josh, mpvanwinkle77, danielbachhuber, andrew.taylor, jazzs3quence, stovak, jspellman
     2Contributors: getpantheon, outlandish josh, mpvanwinkle77, danielbachhuber, andrew.taylor, jazzs3quence, stovak, jspellman, rwagner00
    33Tags: comments, sessions
    44Requires at least: 4.7
    55Tested up to: 6.3
    6 Stable tag: 1.4.2
     6Stable tag: 1.4.3
    77Requires PHP: 5.4
    88License: GPLv2 or later
     
    9797== Changelog ==
    9898
     99= 1.4.3 (November 13, 2023) =
     100* Fixed a PHP warning when running the `pantheon session add-index` command on a single site installation. [[#285](https://github.com/pantheon-systems/wp-native-php-sessions/pull/285)]
     101
    99102= 1.4.2 (November 8, 2023) =
    100103* Fixed an issue with the `pantheon session add-index` PHP warning. [[#276](https://github.com/pantheon-systems/wp-native-php-sessions/pull/276/files)]
  • wp-native-php-sessions/trunk/pantheon-sessions.php

    r2992283 r2995412  
    22/**
    33 * Plugin Name: Native PHP Sessions for WordPress
    4  * Version: 1.4.2
     4 * Version: 1.4.3
    55 * Description: Offload PHP's native sessions to your database for multi-server compatibility.
    66 * Author: Pantheon
     
    1414use Pantheon_Sessions\Session;
    1515
    16 define( 'PANTHEON_SESSIONS_VERSION', '1.4.2' );
     16define( 'PANTHEON_SESSIONS_VERSION', '1.4.3' );
    1717
    1818/**
     
    540540        if ( ! $wpdb->get_var( $query ) == $table ) {
    541541            $this->safe_output( __( 'This site does not have a pantheon_sessions table, and is being skipped.', 'wp-native-php-sessions' ), 'log' );
    542             $output['no_session_table'] = $output['no_session_table'] + 1;
     542            $output['no_session_table'] = isset( $output['no_session_table'] ) ? $output['no_session_table'] + 1 : 1;
    543543
    544544            return $output;
     
    560560            }
    561561
    562             $output['id_column_exists'] = $output['id_column_exists'] + 1;
     562            $output['id_column_exists'] = isset( $output['id_column_exists'] ) ? $output['id_column_exists'] + 1 : 1;
    563563            $this->safe_output( __( 'ID column already exists and does not need to be added to the table.', 'wp-native-php-sessions' ), $type );
    564564
     
    644644                $type = 'error';
    645645            } else {
    646                 $output['no_old_table'] = $output['no_old_table'] + 1;
     646                $output['no_old_table'] = isset( $output['no_old_table'] ) ? $output['no_old_table'] + 1 : 1;
    647647                $type = 'log';
    648648            }
     
    689689        if ( ! $wpdb->get_var( $query ) == $old_clone_table ) {
    690690            $this->safe_output( __( 'There is no old table to roll back to.', 'wp-native-php-sessions' ), $type );
    691             $output['no_rollback_table'] = $output['no_rollback_table'] + 1;
     691            $output['no_rollback_table'] = isset( $output['no_rollback_table'] ) ? $output['no_rollback_table'] + 1 : 1;
    692692
    693693            return $output;
  • wp-native-php-sessions/trunk/readme.txt

    r2992283 r2995412  
    11=== WordPress Native PHP Sessions ===
    2 Contributors: getpantheon, outlandish josh, mpvanwinkle77, danielbachhuber, andrew.taylor, jazzs3quence, stovak, jspellman
     2Contributors: getpantheon, outlandish josh, mpvanwinkle77, danielbachhuber, andrew.taylor, jazzs3quence, stovak, jspellman, rwagner00
    33Tags: comments, sessions
    44Requires at least: 4.7
    55Tested up to: 6.3
    6 Stable tag: 1.4.2
     6Stable tag: 1.4.3
    77Requires PHP: 5.4
    88License: GPLv2 or later
     
    9797== Changelog ==
    9898
     99= 1.4.3 (November 13, 2023) =
     100* Fixed a PHP warning when running the `pantheon session add-index` command on a single site installation. [[#285](https://github.com/pantheon-systems/wp-native-php-sessions/pull/285)]
     101
    99102= 1.4.2 (November 8, 2023) =
    100103* Fixed an issue with the `pantheon session add-index` PHP warning. [[#276](https://github.com/pantheon-systems/wp-native-php-sessions/pull/276/files)]
Note: See TracChangeset for help on using the changeset viewer.