Changeset 2995412
- Timestamp:
- 11/13/2023 07:22:51 PM (2 years ago)
- Location:
- wp-native-php-sessions
- Files:
-
- 4 edited
- 1 copied
-
tags/1.4.3 (copied) (copied from wp-native-php-sessions/trunk)
-
tags/1.4.3/pantheon-sessions.php (modified) (6 diffs)
-
tags/1.4.3/readme.txt (modified) (2 diffs)
-
trunk/pantheon-sessions.php (modified) (6 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-native-php-sessions/tags/1.4.3/pantheon-sessions.php
r2992283 r2995412 2 2 /** 3 3 * Plugin Name: Native PHP Sessions for WordPress 4 * Version: 1.4. 24 * Version: 1.4.3 5 5 * Description: Offload PHP's native sessions to your database for multi-server compatibility. 6 6 * Author: Pantheon … … 14 14 use Pantheon_Sessions\Session; 15 15 16 define( 'PANTHEON_SESSIONS_VERSION', '1.4. 2' );16 define( 'PANTHEON_SESSIONS_VERSION', '1.4.3' ); 17 17 18 18 /** … … 540 540 if ( ! $wpdb->get_var( $query ) == $table ) { 541 541 $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; 543 543 544 544 return $output; … … 560 560 } 561 561 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; 563 563 $this->safe_output( __( 'ID column already exists and does not need to be added to the table.', 'wp-native-php-sessions' ), $type ); 564 564 … … 644 644 $type = 'error'; 645 645 } 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; 647 647 $type = 'log'; 648 648 } … … 689 689 if ( ! $wpdb->get_var( $query ) == $old_clone_table ) { 690 690 $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; 692 692 693 693 return $output; -
wp-native-php-sessions/tags/1.4.3/readme.txt
r2992283 r2995412 1 1 === WordPress Native PHP Sessions === 2 Contributors: getpantheon, outlandish josh, mpvanwinkle77, danielbachhuber, andrew.taylor, jazzs3quence, stovak, jspellman 2 Contributors: getpantheon, outlandish josh, mpvanwinkle77, danielbachhuber, andrew.taylor, jazzs3quence, stovak, jspellman, rwagner00 3 3 Tags: comments, sessions 4 4 Requires at least: 4.7 5 5 Tested up to: 6.3 6 Stable tag: 1.4. 26 Stable tag: 1.4.3 7 7 Requires PHP: 5.4 8 8 License: GPLv2 or later … … 97 97 == Changelog == 98 98 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 99 102 = 1.4.2 (November 8, 2023) = 100 103 * 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 2 2 /** 3 3 * Plugin Name: Native PHP Sessions for WordPress 4 * Version: 1.4. 24 * Version: 1.4.3 5 5 * Description: Offload PHP's native sessions to your database for multi-server compatibility. 6 6 * Author: Pantheon … … 14 14 use Pantheon_Sessions\Session; 15 15 16 define( 'PANTHEON_SESSIONS_VERSION', '1.4. 2' );16 define( 'PANTHEON_SESSIONS_VERSION', '1.4.3' ); 17 17 18 18 /** … … 540 540 if ( ! $wpdb->get_var( $query ) == $table ) { 541 541 $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; 543 543 544 544 return $output; … … 560 560 } 561 561 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; 563 563 $this->safe_output( __( 'ID column already exists and does not need to be added to the table.', 'wp-native-php-sessions' ), $type ); 564 564 … … 644 644 $type = 'error'; 645 645 } 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; 647 647 $type = 'log'; 648 648 } … … 689 689 if ( ! $wpdb->get_var( $query ) == $old_clone_table ) { 690 690 $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; 692 692 693 693 return $output; -
wp-native-php-sessions/trunk/readme.txt
r2992283 r2995412 1 1 === WordPress Native PHP Sessions === 2 Contributors: getpantheon, outlandish josh, mpvanwinkle77, danielbachhuber, andrew.taylor, jazzs3quence, stovak, jspellman 2 Contributors: getpantheon, outlandish josh, mpvanwinkle77, danielbachhuber, andrew.taylor, jazzs3quence, stovak, jspellman, rwagner00 3 3 Tags: comments, sessions 4 4 Requires at least: 4.7 5 5 Tested up to: 6.3 6 Stable tag: 1.4. 26 Stable tag: 1.4.3 7 7 Requires PHP: 5.4 8 8 License: GPLv2 or later … … 97 97 == Changelog == 98 98 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 99 102 = 1.4.2 (November 8, 2023) = 100 103 * 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.