[wp-trac] [WordPress Trac] #35043: Images in RSS feed are broken
WordPress Trac
noreply at wordpress.org
Wed Sep 14 00:27:34 UTC 2016
#35043: Images in RSS feed are broken
-----------------------------+-----------------------------
Reporter: griffinjay | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: Future Release
Component: Media | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch close | Focuses:
-----------------------------+-----------------------------
Comment (by littler.chicken):
I have an RSS plugin in the repository and have disabled srcset on all
images due to Feedly issues (for sites without SSL certificates, which I
believe have been fixed at this point), as well as some of the recently
mentioned issues. You might try using:
{{{#!php
<?php
add_filter( 'wp_calculate_image_srcset', '__return_false' );
}}}
in your feed output to disable srcset in your feeds altogether, until
MailChimp has resolved the issue to your satisfaction. This has worked for
me. (It's added within a function which has already checked for the feed,
so if you don't have something similar, you'd need to flesh it out to
apply it conditionally to your feed.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35043#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list