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.
1 parent 26beaed commit d0a16d7Copy full SHA for d0a16d7
includes/abstract/feedzy-rss-feeds-admin-abstract.php
@@ -1927,7 +1927,7 @@ public function feedzy_image_encode( $img_url ) {
1927
// Check if img url is set as an URL parameter.
1928
$url_tab = wp_parse_url( $img_url );
1929
if ( isset( $url_tab['query'] ) ) {
1930
- preg_match_all( '/(http|https):\/\/[^ ]+(\.gif|\.GIF|\.jpg|\.JPG|\.jpeg|\.JPEG|\.png|\.PNG)/', $url_tab['query'], $matches );
+ preg_match_all( '/(http|https):\/\/[^ ]+(\.gif|\.GIF|\.jpg|\.JPG|\.jpeg|\.JPEG|\.png|\.PNG|\.webp|\.WEBP|\.avif|\.AVIF)/', $url_tab['query'], $matches );
1931
if ( isset( $matches[0][0] ) ) {
1932
$img_url = $matches[0][0];
1933
}
0 commit comments