Removes the $old_session_key default value

Fix for the issue #23686
This commit is contained in:
Tatu 2019-05-13 14:27:28 +03:00 committed by GitHub
parent 4266cc9eaa
commit bfad881f32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ class WC_Session_Handler extends WC_Session {
/**
* Save data.
*/
public function save_data($old_session_key = false) {
public function save_data( $old_session_key ) {
// Dirty if something changed - prevents saving nothing new.
if ( $this->_dirty && $this->has_session() ) {
global $wpdb;