[wp-trac] [WordPress Trac] #48414: Enhancement: feed_links_extra needs filter to remove a feed from pages
WordPress Trac
noreply at wordpress.org
Wed Oct 23 19:40:25 UTC 2019
#48414: Enhancement: feed_links_extra needs filter to remove a feed from pages
-------------------------+-----------------------------
Reporter: sgatz | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Use case: If your site doesn't have comments, or uses a service like
disqus, the singletitle feed is useless and always empty (since comments
are open, just not using wordpress native commenting). I'd like to be
able to remove it from the header. Other use cases are if people do not
want to provide an RSS feed for a tags or authors.
Suggestion: allow a filter on feed_links_extra to eliminate the echoing
of that feed into the header. This ticket proposes filtering the
default values: https://core.trac.wordpress.org/ticket/43225 Perhaps
modify that to accept null or false values for things like 'singletitle'
and if false, skip the creation of that item.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48414>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list