[wp-trac] [WordPress Trac] #12364: Deprecate automatic_feed_links() in favor of add_theme_support()
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 25 10:36:54 UTC 2010
#12364: Deprecate automatic_feed_links() in favor of add_theme_support()
--------------------------+-------------------------------------------------
Reporter: Viper007Bond | Owner: Viper007Bond
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.0
Component: Themes | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-------------------------------------------------
Changes (by TobiasBg):
* status: closed => reopened
* resolution: fixed =>
Comment:
From what I can see, there's now no longer a possibility to automatically
have the call to feed_links_extra() removed.
While before the commit, this could be achieved by automatic_feed_links(
false );, one would now have to manually add the remove_action(...) call.
This breaks backward compatibility.
I suggest to also add
{{{
if ( !current_theme_supports('automatic-feed-links') )
return;
}}}
to feed_links_extra().
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12364#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list