We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98101af + e630114 commit c8b4953Copy full SHA for c8b4953
includes/abstract/feedzy-rss-feeds-admin-abstract.php
@@ -1740,6 +1740,11 @@ public function feedzy_retrieve_image( $item, $sc = null ) {
1740
}
1741
1742
$the_thumbnail = html_entity_decode( $the_thumbnail, ENT_QUOTES, 'UTF-8' );
1743
+
1744
+ if ( isset( $sc['_dryrun_'] ) && 'yes' === $sc['_dryrun_'] ) {
1745
+ return $the_thumbnail;
1746
+ }
1747
1748
if ( ! defined( 'REST_REQUEST' ) || ! REST_REQUEST ) {
1749
$feed_url = $this->normalize_urls( $sc['feeds'] );
1750
$the_thumbnail = ! empty( $the_thumbnail ) ? $the_thumbnail : apply_filters( 'feedzy_default_image', $sc['default'], $feed_url );
0 commit comments