PluginProbe
Photonic Gallery & Lightbox for Flickr, SmugMug & Others / 3.37
Photonic Gallery & Lightbox for Flickr, SmugMug & Others v3.37
3.37 3.36 3.35 3.34 3.33 2.19 2.20 2.21 2.22 2.23 2.24 2.25 2.26 2.27 2.28 2.29 2.30 2.31 2.32 2.33 2.34 2.40 2.41 2.42 2.43 All 142 releases
← All changes | Platforms/Instagram.php +1 -2 3.33 → 3.37 View file →
@@ -23,9 +23,8 @@
23 23 public $scope;
24 24 public $cached_token;
25 25 public $field_list;
26 26 public $token_valid;
27 - private static $instance = null;
28 27
29 28 protected function __construct() {
30 29 parent::__construct();
31 30 global $photonic_instagram_disable_title_link, $photonic_instagram_access_token;
@@ -207,9 +206,9 @@
207 206 }
208 207 else {
209 208 $this->pop_from_stack(); // 'Process response'
210 209 $this->pop_from_stack(); // 'Make call'
211 - $single_photo = new Single_Photo($body->media_url, $body->permalink, '', isset($body->caption) ? $body->caption : '');
210 + $single_photo = new Single_Photo($body->media_url, $body->permalink, '', $body->caption ?? '');
212 211 $components[] = $single_photo;
213 212 return $components;
214 213 }
215 214 }