From a1b5d901cb2bc6a1af9477304f68791c360a07a2 Mon Sep 17 00:00:00 2001 From: Eduardo Martos Date: Fri, 26 Mar 2021 14:17:30 +0100 Subject: [PATCH] Reverts temporarilly the change of the featured images since it's not working in LIVE. --- src/RSS_PHP/rss_php.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/RSS_PHP/rss_php.php b/src/RSS_PHP/rss_php.php index f2418aa8..43772ad6 100755 --- a/src/RSS_PHP/rss_php.php +++ b/src/RSS_PHP/rss_php.php @@ -125,13 +125,6 @@ private function extractDOM($nodeList,$parentNodeName=false) { $this->channel[$values->nodeName] = $tempNode[$nodeName]; } } - if($values->nodeName == 'media:content') { - for($i=0;$values->attributes->item($i);$i++) { - if ($values->attributes->item($i)->name == 'url') { - $tempNode[$nodeName] = $values->attributes->item($i)->nodeValue; - } - } - } } elseif(substr($values->nodeName,1) == 'text') { $tempValue = trim(preg_replace('/\s\s+/',' ',str_replace("\n",' ', $values->textContent))); if($tempValue) {