[wp-trac] [WordPress Trac] #43604: Add option to completely disable syndication feeds
WordPress Trac
noreply at wordpress.org
Wed Mar 21 21:04:49 UTC 2018
#43604: Add option to completely disable syndication feeds
--------------------------------+-----------------------------
Reporter: seanleavey | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version: trunk
Severity: normal | Keywords:
Focuses: ui, administration |
--------------------------------+-----------------------------
Some site owners do not want to provide RSS/Atom/whatever feeds, for
various reasons. Right now, there is no way to globally disable feeds. The
current way to disable feeds involves:
- hiding feed URLs from the end user (by removing the "Meta" widget from
the sidebar and removing the feed links from the header)
- filtering the functions that write the feed URLs
- disabling feed endpoints by deleting the array containing the feed
types in WordPress core
- hooking in to the `do_feed_x` actions to redirect the user to a 404
See for example the instructions for disabling feeds one user provides
[https://wordpress.stackexchange.com/questions/33072/how-to-remove-feeds-
from-wordpress-totally here].
It would be nice if there was a setting in `options-reading.php` to
disable syndication feeds altogether, which disables display and
generation of the feeds across the whole site.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43604>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list