[wp-trac] [WordPress Trac] #11320: Feed Autodiscovery Missing?!
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 4 23:32:15 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 Viper007Bond):
Replying to [comment:13 miqrogroove]:
> And while I'm thinking of it, if RSS headers require a separate function
call, then why the hell doesn't that function output anything?
Why would it output something? It's registering actions.
If instead of registering actions, it outputted the actual `<links>` then
there would be no way for plugins to stop it.
Trust me, a lot of thought and testing went into the
`automatic_feed_links()` function when I wrote it so that it'd be easy to
use while more importantly be backwards compatible.
And -1 to automatically determining if the theme has hard coded links or
not. What if a blog had it's RSS link be to FeedBurner and not have
`bloginfo()` be involved at all? There's many possibilities where such
code would fail.
Stuff like that is never 100% reliable. Theme developers just need to stop
being lazy. :P
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11320#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list