From 6c29d886caf901dcf24cf53702a97ad8cf57785b Mon Sep 17 00:00:00 2001 From: Boro Sitnikovski Date: Mon, 4 Dec 2017 15:10:35 +0100 Subject: [PATCH] Use protected instead of private methods to allow easy override --- includes/class-wc-session-handler.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/class-wc-session-handler.php b/includes/class-wc-session-handler.php index 13bd8ba35d3..c1175b3511d 100644 --- a/includes/class-wc-session-handler.php +++ b/includes/class-wc-session-handler.php @@ -18,19 +18,19 @@ if ( ! defined( 'ABSPATH' ) ) { class WC_Session_Handler extends WC_Session { /** @var string cookie name */ - private $_cookie; + protected $_cookie; /** @var string session due to expire timestamp */ - private $_session_expiring; + protected $_session_expiring; /** @var string session expiration timestamp */ - private $_session_expiration; + protected $_session_expiration; /** $var bool Bool based on whether a cookie exists **/ - private $_has_cookie = false; + protected $_has_cookie = false; /** @var string Custom session table name */ - private $_table; + protected $_table; /** * Constructor for the session class.