#10184 closed enhancement (wontfix)
feed_links() cannot be removed from wp_head
| Reported by: | peaceablewhale | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Template | Version: | 2.8 |
| Severity: | normal | Keywords: | close |
| Cc: | Focuses: |
Description
Due to the way feed_links() is added to wp_head in automatic_feed_links(), it cannot be removed by a plugin.
Attachments (1)
Change History (9)
#2
@
17 years ago
- Milestone 2.8.1 → 2.9
- Type defect (bug) → enhancement
adding to this, the filter (assuming we add any) should be in the function directly imo
#3
@
17 years ago
First of all, I am surprised that there are comments in the report but Trac has not notified me by email. Is there a bug in Trac?
@dd32: I suspect that automatic_feed_links(false) is called by the plugin first, but then the templete calls automatic_feed_links(true).
#4
@
17 years ago
- Milestone 2.9 → 2.8.1
A patch, if any, should be checked in to 2.8 as automatic_feed_links was designed to be modified by plugins according to #8878.
#5
@
17 years ago
- Keywords close added; has-patch removed
if you add this on the init hook, it should work:
automatic_feed_links(false);
Is there any reason why a plugin cannot call
automatic_feed_links(false)directly?