• I don’t know how long this has been happening, but WordPress is now putting my Site Identity favicon in the <image> tag in all RSS feeds WordPress generates.

    This happens no matter what themes or plugins I use.

    This causes two big problems:

    1. Compatibility: some plugins and themes will allow a site owner to set an RSS image. But doing so now means there will be two <image> tags in the feed, which makes invalidates the feed.
    2. Branding: there are many reasons to make a favicon completely different from the RSS image, but this problem is forcing an incompatible image into one context or the other.

    What do we need to do to get WP core to stop putting the favicon in RSS feeds?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    The site icon callback added to action “rss2_head” is rss2_site_icon(). It’s possible to remove it after WP adds it by default to completely remove the site/fav icon from feeds. Or you could filter “get_site_icon_url” to alter the icon used. is_feed() could be used to test for feed requests.

    I cannot speak for core devs, but it was placed there for a reason, so I imagine they are not keen to now remove it, especially considering anyone who wishes can remove it from the action application on their own site.

    Thread Starter Daniel J. Lewis

    (@djosephdesign)

    What I ended up doing is disabling the core Site Identity feature and adding a favicon plugin. This actually gives me much more control and it doesn’t wrongly put the favicon in my feeds.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove Site Identity favicon from RSS feeds?’ is closed to new replies.