mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
git-svn-id: https://develop.svn.wordpress.org/trunk@13398 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2411,4 +2411,16 @@ function update_usermeta( $user_id, $meta_key, $meta_value ) {
|
||||
do_action( 'updated_usermeta', $cur->umeta_id, $user_id, $meta_key, $meta_value );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Enable automatic general feed link outputting.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @deprecated 3.0.0
|
||||
* @deprecated Use add_theme_support( 'automatic-feed-links' )
|
||||
*/
|
||||
function automatic_feed_links() {
|
||||
_deprecated_function( __FUNCTION__, '3.0', "add_theme_support( 'automatic-feed-links' )" );
|
||||
add_theme_support( 'automatic-feed-links' );
|
||||
}
|
||||
Reference in New Issue
Block a user