Chargement en cours inc/oembed.php +1 −0 Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff Chargement en cours @@ -312,6 +312,7 @@ function oembed_detecter_lien($url) { 'taille_max' => min(_INC_DISTANT_MAX_SIZE, 256000), ]; $res = recuperer_url_cache($url, $options); $html = ''; if ($res and intval($res['status'] / 100) < 4 and !empty($res['page'])) { $html = $res['page']; // types de liens oembed à détecter Chargement en cours oembed/input/posttraite_twitter.php +1 −0 Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff Chargement en cours @@ -28,6 +28,7 @@ function oembed_input_posttraite_twitter_dist($data) { $author_thumbnail = $json['user']['profile_image_url_https'] ?? ''; $lang = $json['lang'] ?? $GLOBALS['spip_lang']; $has_image = false; $enclosure = $enclosure_type = ''; if (!empty($json['photos'])) { foreach ($json['photos'] as $photo) { if ($src = $photo['url'] ?? '') { Chargement en cours Chargement en cours
inc/oembed.php +1 −0 Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff Chargement en cours @@ -312,6 +312,7 @@ function oembed_detecter_lien($url) { 'taille_max' => min(_INC_DISTANT_MAX_SIZE, 256000), ]; $res = recuperer_url_cache($url, $options); $html = ''; if ($res and intval($res['status'] / 100) < 4 and !empty($res['page'])) { $html = $res['page']; // types de liens oembed à détecter Chargement en cours
oembed/input/posttraite_twitter.php +1 −0 Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff Chargement en cours @@ -28,6 +28,7 @@ function oembed_input_posttraite_twitter_dist($data) { $author_thumbnail = $json['user']['profile_image_url_https'] ?? ''; $lang = $json['lang'] ?? $GLOBALS['spip_lang']; $has_image = false; $enclosure = $enclosure_type = ''; if (!empty($json['photos'])) { foreach ($json['photos'] as $photo) { if ($src = $photo['url'] ?? '') { Chargement en cours