| @@ -50,8 +50,13 @@ | ||
| 50 | 50 | public function __construct() |
| 51 | 51 | { |
| 52 | 52 | if(!empty($_COOKIE['lz_social_login'])){ |
| 53 | 53 | $this->key = sanitize_text_field(wp_unslash($_COOKIE['lz_social_login'])); |
| 54 | + | |
| 55 | + $transient = get_transient($this->key); | |
| 56 | + if(!empty($transient)){ | |
| 57 | + $this->transient = $transient; | |
| 58 | + } | |
| 54 | 59 | return; |
| 55 | 60 | } |
| 56 | 61 | |
| 57 | 62 | if(headers_sent()){ |