From 5b8b047b791247b2b9c032030adc2c8c6f1df1f1 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 11 May 2009 17:56:34 +0000 Subject: [PATCH] Add the_author_aim() to deprecated. see #8776 git-svn-id: http://svn.automattic.com/wordpress/trunk@11269 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/deprecated.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 1e2f7c2462..a6d58641fd 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -1598,6 +1598,34 @@ function the_author_msn() { the_author_meta('msn'); } +/** + * Retrieve the AIM address of the author of the current post. + * + * @since 1.5 + * @deprecated 2.8 + * @uses $authordata The current author's DB object. + * @return string The author's AIM address. + * @deprecated Use the_author_meta('aim') + */ +function get_the_author_aim() { + _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'aim\')' ); + return get_the_author_meta('aim'); +} + +/** + * Display the AIM address of the author of the current post. + * + * @link http://codex.wordpress.org/Template_Tags/the_author_aim + * @since 0.71 + * @deprecated 2.8 + * @see get_the_author_aim() + * @deprecated Use the_author_meta('aim') + */ +function the_author_aim() { + _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'aim\')' ); + the_author_meta('aim'); +} + /** * Retrieve the specified author's preferred display name. *