[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 11:01:58 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     |  
--------------------------+-------------------------------------------------

Comment(by Viper007Bond):

 Replying to [comment:4 TobiasBg]:
 > I suggest to also add
 > {{{
 > if ( !current_theme_supports('automatic-feed-links') )
 >    return;
 > }}}
 > to feed_links_extra().

 No because `feed_links_extra()` ran by default (without the function
 call).

 You're right though that I shouldn't break backwards compatibility,
 especially when it's easy not to.

 Incoming patch.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12364#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list