[wp-trac] [WordPress Trac] #11320: Feed Autodiscovery Missing?!
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 4 19:24:20 UTC 2009
#11320: Feed Autodiscovery Missing?!
--------------------------+-------------------------------------------------
Reporter: miqrogroove | Owner:
Type: defect (bug) | Status: reopened
Priority: high | Milestone: 2.9
Component: Feeds | Version: 2.8
Severity: critical | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Comment(by nacin):
Related: #8878.
Adding add_action( 'wp_head', 'feed_links' ) as a default hook would open
up issues where, unless people either add automatic_feed_links(false) to
their theme or remove hard-coded feeds, they'll be referencing their feeds
twice.
I think #8878 added an interesting twist to this, by introducing
documentation and convention issues that can only be fixed by creating
compatibility issues.
Crazy idea not likely to fly: Any properly coded theme (prior to the
introduction of automatic_feed_links) called bloginfo('*_url') for the
feed, which in turn called feed_links(*).
We can add feed_links as a default filter, then remove the default filter
in feed_links. Thus, by the time you get to wp_head, if the theme already
used proper feed links, then feed_links isn't called again via the default
filter.
Thoughts? Sounds less crazy when I think about it more -- as long as it is
documented.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11320#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list