/home/suroeste/public_html/wp-content/plugins/akeebabackupwp/helpers/Solo/Session
NameSizeModeActions
Manager.php89100644editdlrm
Segment.php14650644editdlrm
SegmentFactory.php4530644editdlrm
WordPressToken.php9150644editdlrm
WordPressTokenFactory.php6330644editdlrm
Edit: /home/suroeste/public_html/wp-content/plugins/akeebabackupwp/helpers/Solo/Session/Segment.php (1465B)
data !== null) { // no need to re-load return; } // if the session is not started, start it if (!$this->session->isStarted()) { $this->session->start(); } // Intialize data $this->data = array(); // Get the WordPress user meta key $metaKey = $this->session->getName() . '_' . md5($this->getName()); $userId = get_current_user_id(); $this->data = get_user_meta($userId, $metaKey, true); // Sometimes WordPress returns broken data if (!is_array($this->data)) { $this->data = array(); } } /** * Commit the session data to WordPress' user meta storage. * * @return void */ public function save() { // CLI mode if (!defined('WPINC')) { return; } $metaKey = $this->session->getName() . '_' . md5($this->getName()); $userId = get_current_user_id(); update_user_meta($userId, $metaKey, $this->data); } }