<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[12526] trunk/wp-includes/deprecated.php:
  Set the version of WP a function was deprecated in for all deprecated functions
 .</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/12526">12526</a></dd>
<dt>Author</dt> <dd>ryan</dd>
<dt>Date</dt> <dd>2009-12-23 18:54:17 +0000 (Wed, 23 Dec 2009)</dd>
</dl>

<h3>Log Message</h3>
<pre>Set the version of WP a function was deprecated in for all deprecated functions. Props nacin, docwhat. fixes <a href="http://trac.wordpress.org/ticket/7493">#7493</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludesdeprecatedphp">trunk/wp-includes/deprecated.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpincludesdeprecatedphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/deprecated.php (12525 => 12526)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/deprecated.php        2009-12-23 18:49:22 UTC (rev 12525)
+++ trunk/wp-includes/deprecated.php        2009-12-23 18:54:17 UTC (rev 12526)
</span><span class="lines">@@ -82,6 +82,7 @@
</span><span class="cx">  * Entire Post data.
</span><span class="cx">  *
</span><span class="cx">  * @since 0.71
</span><ins>+ * @deprecated 1.5.1
</ins><span class="cx">  * @deprecated Use get_post()
</span><span class="cx">  * @see get_post()
</span><span class="cx">  *
</span><span class="lines">@@ -89,7 +90,7 @@
</span><span class="cx">  * @return array
</span><span class="cx">  */
</span><span class="cx"> function get_postdata($postid) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'get_post()');
</del><ins>+        _deprecated_function( __FUNCTION__, '1.5.1', 'get_post()' );
</ins><span class="cx"> 
</span><span class="cx">         $post = &amp;get_post($postid);
</span><span class="cx"> 
</span><span class="lines">@@ -118,12 +119,13 @@
</span><span class="cx">  * Sets up the WordPress Loop.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.0.1
</span><del>- * @deprecated Since 1.5 - {@link http://codex.wordpress.org/The_Loop Use new WordPress Loop}
</del><ins>+ * @deprecated 1.5
+ * @deprecated Use The Loop - {@link http://codex.wordpress.org/The_Loop Use new WordPress Loop}
</ins><span class="cx">  */
</span><span class="cx"> function start_wp() {
</span><span class="cx">         global $wp_query, $post;
</span><span class="cx"> 
</span><del>-        _deprecated_function(__FUNCTION__, '1.5', __('new WordPress Loop') );
</del><ins>+        _deprecated_function( __FUNCTION__, '1.5', __('new WordPress Loop')  );
</ins><span class="cx"> 
</span><span class="cx">         // Since the old style loop is being used, advance the query iterator here.
</span><span class="cx">         $wp_query-&gt;next_post();
</span><span class="lines">@@ -135,6 +137,7 @@
</span><span class="cx">  * Return or Print Category ID.
</span><span class="cx">  *
</span><span class="cx">  * @since 0.71
</span><ins>+ * @deprecated 0.71
</ins><span class="cx">  * @deprecated use get_the_category()
</span><span class="cx">  * @see get_the_category()
</span><span class="cx">  *
</span><span class="lines">@@ -142,7 +145,7 @@
</span><span class="cx">  * @return null|int
</span><span class="cx">  */
</span><span class="cx"> function the_category_ID($echo = true) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'get_the_category()');
</del><ins>+        _deprecated_function( __FUNCTION__, '0.71', 'get_the_category()' );
</ins><span class="cx"> 
</span><span class="cx">         // Grab the first cat in the list.
</span><span class="cx">         $categories = get_the_category();
</span><span class="lines">@@ -158,6 +161,7 @@
</span><span class="cx">  * Print category with optional text before and after.
</span><span class="cx">  *
</span><span class="cx">  * @since 0.71
</span><ins>+ * @deprecated 0.71
</ins><span class="cx">  * @deprecated use get_the_category_by_ID()
</span><span class="cx">  * @see get_the_category_by_ID()
</span><span class="cx">  *
</span><span class="lines">@@ -167,7 +171,7 @@
</span><span class="cx"> function the_category_head($before='', $after='') {
</span><span class="cx">         global $currentcat, $previouscat;
</span><span class="cx"> 
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'get_the_category_by_ID()');
</del><ins>+        _deprecated_function( __FUNCTION__, '0.71', 'get_the_category_by_ID()' );
</ins><span class="cx"> 
</span><span class="cx">         // Grab the first cat in the list.
</span><span class="cx">         $categories = get_the_category();
</span><span class="lines">@@ -184,6 +188,7 @@
</span><span class="cx">  * Prints link to the previous post.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><ins>+ * @deprecated 2.0
</ins><span class="cx">  * @deprecated Use previous_post_link()
</span><span class="cx">  * @see previous_post_link()
</span><span class="cx">  *
</span><span class="lines">@@ -196,7 +201,7 @@
</span><span class="cx">  */
</span><span class="cx"> function previous_post($format='%', $previous='previous post: ', $title='yes', $in_same_cat='no', $limitprev=1, $excluded_categories='') {
</span><span class="cx"> 
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'previous_post_link()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.0', 'previous_post_link()' );
</ins><span class="cx"> 
</span><span class="cx">         if ( empty($in_same_cat) || 'no' == $in_same_cat )
</span><span class="cx">                 $in_same_cat = false;
</span><span class="lines">@@ -220,6 +225,7 @@
</span><span class="cx">  * Prints link to the next post.
</span><span class="cx">  *
</span><span class="cx">  * @since 0.71
</span><ins>+ * @deprecated 2.0
</ins><span class="cx">  * @deprecated Use next_post_link()
</span><span class="cx">  * @see next_post_link()
</span><span class="cx">  *
</span><span class="lines">@@ -231,7 +237,7 @@
</span><span class="cx">  * @param string $excluded_categories
</span><span class="cx">  */
</span><span class="cx"> function next_post($format='%', $next='next post: ', $title='yes', $in_same_cat='no', $limitnext=1, $excluded_categories='') {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'next_post_link()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.0', 'next_post_link()' );
</ins><span class="cx"> 
</span><span class="cx">         if ( empty($in_same_cat) || 'no' == $in_same_cat )
</span><span class="cx">                 $in_same_cat = false;
</span><span class="lines">@@ -255,6 +261,7 @@
</span><span class="cx">  * Whether user can create a post.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><ins>+ * @deprecated 2.0
</ins><span class="cx">  * @deprecated Use current_user_can()
</span><span class="cx">  * @see current_user_can()
</span><span class="cx">  *
</span><span class="lines">@@ -264,7 +271,7 @@
</span><span class="cx">  * @return bool
</span><span class="cx">  */
</span><span class="cx"> function user_can_create_post($user_id, $blog_id = 1, $category_id = 'None') {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
</ins><span class="cx"> 
</span><span class="cx">         $author_data = get_userdata($user_id);
</span><span class="cx">         return ($author_data-&gt;user_level &gt; 1);
</span><span class="lines">@@ -274,6 +281,7 @@
</span><span class="cx">  * Whether user can create a post.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><ins>+ * @deprecated 2.0
</ins><span class="cx">  * @deprecated Use current_user_can()
</span><span class="cx">  * @see current_user_can()
</span><span class="cx">  *
</span><span class="lines">@@ -283,7 +291,7 @@
</span><span class="cx">  * @return bool
</span><span class="cx">  */
</span><span class="cx"> function user_can_create_draft($user_id, $blog_id = 1, $category_id = 'None') {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
</ins><span class="cx"> 
</span><span class="cx">         $author_data = get_userdata($user_id);
</span><span class="cx">         return ($author_data-&gt;user_level &gt;= 1);
</span><span class="lines">@@ -293,6 +301,7 @@
</span><span class="cx">  * Whether user can edit a post.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><ins>+ * @deprecated 2.0
</ins><span class="cx">  * @deprecated Use current_user_can()
</span><span class="cx">  * @see current_user_can()
</span><span class="cx">  *
</span><span class="lines">@@ -302,7 +311,7 @@
</span><span class="cx">  * @return bool
</span><span class="cx">  */
</span><span class="cx"> function user_can_edit_post($user_id, $post_id, $blog_id = 1) {
</span><del>-        _deprecated_function(__FUNCTION__, '0', 'current_user_can()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
</ins><span class="cx"> 
</span><span class="cx">         $author_data = get_userdata($user_id);
</span><span class="cx">         $post = get_post($post_id);
</span><span class="lines">@@ -321,6 +330,7 @@
</span><span class="cx">  * Whether user can delete a post.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><ins>+ * @deprecated 2.0
</ins><span class="cx">  * @deprecated Use current_user_can()
</span><span class="cx">  * @see current_user_can()
</span><span class="cx">  *
</span><span class="lines">@@ -330,7 +340,7 @@
</span><span class="cx">  * @return bool
</span><span class="cx">  */
</span><span class="cx"> function user_can_delete_post($user_id, $post_id, $blog_id = 1) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
</ins><span class="cx"> 
</span><span class="cx">         // right now if one can edit, one can delete
</span><span class="cx">         return user_can_edit_post($user_id, $post_id, $blog_id);
</span><span class="lines">@@ -340,6 +350,7 @@
</span><span class="cx">  * Whether user can set new posts' dates.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><ins>+ * @deprecated 2.0
</ins><span class="cx">  * @deprecated Use current_user_can()
</span><span class="cx">  * @see current_user_can()
</span><span class="cx">  *
</span><span class="lines">@@ -349,7 +360,7 @@
</span><span class="cx">  * @return bool
</span><span class="cx">  */
</span><span class="cx"> function user_can_set_post_date($user_id, $blog_id = 1, $category_id = 'None') {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
</ins><span class="cx"> 
</span><span class="cx">         $author_data = get_userdata($user_id);
</span><span class="cx">         return (($author_data-&gt;user_level &gt; 4) &amp;&amp; user_can_create_post($user_id, $blog_id, $category_id));
</span><span class="lines">@@ -359,6 +370,7 @@
</span><span class="cx">  * Whether user can delete a post.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><ins>+ * @deprecated 2.0
</ins><span class="cx">  * @deprecated Use current_user_can()
</span><span class="cx">  * @see current_user_can()
</span><span class="cx">  *
</span><span class="lines">@@ -368,7 +380,7 @@
</span><span class="cx">  * @return bool returns true if $user_id can edit $post_id's date
</span><span class="cx">  */
</span><span class="cx"> function user_can_edit_post_date($user_id, $post_id, $blog_id = 1) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
</ins><span class="cx"> 
</span><span class="cx">         $author_data = get_userdata($user_id);
</span><span class="cx">         return (($author_data-&gt;user_level &gt; 4) &amp;&amp; user_can_edit_post($user_id, $post_id, $blog_id));
</span><span class="lines">@@ -378,6 +390,7 @@
</span><span class="cx">  * Whether user can delete a post.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><ins>+ * @deprecated 2.0
</ins><span class="cx">  * @deprecated Use current_user_can()
</span><span class="cx">  * @see current_user_can()
</span><span class="cx">  *
</span><span class="lines">@@ -387,7 +400,7 @@
</span><span class="cx">  * @return bool returns true if $user_id can edit $post_id's comments
</span><span class="cx">  */
</span><span class="cx"> function user_can_edit_post_comments($user_id, $post_id, $blog_id = 1) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
</ins><span class="cx"> 
</span><span class="cx">         // right now if one can edit a post, one can edit comments made on it
</span><span class="cx">         return user_can_edit_post($user_id, $post_id, $blog_id);
</span><span class="lines">@@ -397,6 +410,7 @@
</span><span class="cx">  * Whether user can delete a post.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><ins>+ * @deprecated 2.0
</ins><span class="cx">  * @deprecated Use current_user_can()
</span><span class="cx">  * @see current_user_can()
</span><span class="cx">  *
</span><span class="lines">@@ -406,7 +420,7 @@
</span><span class="cx">  * @return bool returns true if $user_id can delete $post_id's comments
</span><span class="cx">  */
</span><span class="cx"> function user_can_delete_post_comments($user_id, $post_id, $blog_id = 1) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
</ins><span class="cx"> 
</span><span class="cx">         // right now if one can edit comments, one can delete comments
</span><span class="cx">         return user_can_edit_post_comments($user_id, $post_id, $blog_id);
</span><span class="lines">@@ -416,6 +430,7 @@
</span><span class="cx">  * Can user can edit other user.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><ins>+ * @deprecated 2.0
</ins><span class="cx">  * @deprecated Use current_user_can()
</span><span class="cx">  * @see current_user_can()
</span><span class="cx">  *
</span><span class="lines">@@ -424,7 +439,7 @@
</span><span class="cx">  * @return bool
</span><span class="cx">  */
</span><span class="cx"> function user_can_edit_user($user_id, $other_user) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'current_user_can()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.0', 'current_user_can()' );
</ins><span class="cx"> 
</span><span class="cx">         $user  = get_userdata($user_id);
</span><span class="cx">         $other = get_userdata($other_user);
</span><span class="lines">@@ -438,8 +453,9 @@
</span><span class="cx">  * Gets the links associated with category $cat_name.
</span><span class="cx">  *
</span><span class="cx">  * @since 0.71
</span><del>- * @deprecated Use get_links()
- * @see get_links()
</del><ins>+ * @deprecated 2.1
+ * @deprecated Use get_bookmarks()
+ * @see get_bookmarks()
</ins><span class="cx">  *
</span><span class="cx">  * @param string $cat_name Optional. The category name to use. If no match is found uses all.
</span><span class="cx">  * @param string $before Optional. The html to output before the link.
</span><span class="lines">@@ -457,7 +473,7 @@
</span><span class="cx"> function get_linksbyname($cat_name = &quot;noname&quot;, $before = '', $after = '&lt;br /&gt;', $between = &quot; &quot;, $show_images = true, $orderby = 'id',
</span><span class="cx">                                                  $show_description = true, $show_rating = false,
</span><span class="cx">                                                  $limit = -1, $show_updated = 0) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'get_links()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
</ins><span class="cx"> 
</span><span class="cx">         $cat_id = -1;
</span><span class="cx">         $cat = get_term_by('name', $cat_name, 'link_category');
</span><span class="lines">@@ -508,8 +524,9 @@
</span><span class="cx">  * &lt;/code&gt;
</span><span class="cx">  *
</span><span class="cx">  * @since 1.0.1
</span><del>- * @deprecated Use get_linkobjects()
- * @see get_linkobjects()
</del><ins>+ * @deprecated 2.1
+ * @deprecated Use get_bookmarks()
+ * @see get_bookmarks()
</ins><span class="cx">  *
</span><span class="cx">  * @param string $cat_name The category name to use. If no match is found uses all.
</span><span class="cx">  * @param string $orderby The order to output the links. E.g. 'id', 'name', 'url', 'description', or 'rating'.
</span><span class="lines">@@ -519,7 +536,7 @@
</span><span class="cx">  * @return unknown
</span><span class="cx">  */
</span><span class="cx"> function get_linkobjectsbyname($cat_name = &quot;noname&quot; , $orderby = 'name', $limit = -1) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'get_linkobjects()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
</ins><span class="cx"> 
</span><span class="cx">         $cat_id = -1;
</span><span class="cx">         $cat = get_term_by('name', $cat_name, 'link_category');
</span><span class="lines">@@ -560,6 +577,7 @@
</span><span class="cx">  * &lt;/ol&gt;
</span><span class="cx">  *
</span><span class="cx">  * @since 1.0.1
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use get_bookmarks()
</span><span class="cx">  * @see get_bookmarks()
</span><span class="cx">  *
</span><span class="lines">@@ -572,7 +590,7 @@
</span><span class="cx">  * @return unknown
</span><span class="cx">  */
</span><span class="cx"> function get_linkobjects($category = 0, $orderby = 'name', $limit = 0) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'get_bookmarks()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
</ins><span class="cx"> 
</span><span class="cx">         $links = get_bookmarks(&quot;category=$category&amp;orderby=$orderby&amp;limit=$limit&quot;);
</span><span class="cx"> 
</span><span class="lines">@@ -587,6 +605,7 @@
</span><span class="cx">  * Gets the links associated with category 'cat_name' and display rating stars/chars.
</span><span class="cx">  *
</span><span class="cx">  * @since 0.71
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use get_bookmarks()
</span><span class="cx">  * @see get_bookmarks()
</span><span class="cx">  *
</span><span class="lines">@@ -605,7 +624,7 @@
</span><span class="cx">  */
</span><span class="cx"> function get_linksbyname_withrating($cat_name = &quot;noname&quot;, $before = '', $after = '&lt;br /&gt;', $between = &quot; &quot;,
</span><span class="cx">                                                                         $show_images = true, $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'get_bookmarks()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
</ins><span class="cx"> 
</span><span class="cx">         get_linksbyname($cat_name, $before, $after, $between, $show_images, $orderby, $show_description, true, $limit, $show_updated);
</span><span class="cx"> }
</span><span class="lines">@@ -614,6 +633,7 @@
</span><span class="cx">  * Gets the links associated with category n and display rating stars/chars.
</span><span class="cx">  *
</span><span class="cx">  * @since 0.71
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use get_bookmarks()
</span><span class="cx">  * @see get_bookmarks()
</span><span class="cx">  *
</span><span class="lines">@@ -632,7 +652,7 @@
</span><span class="cx">  */
</span><span class="cx"> function get_links_withrating($category = -1, $before = '', $after = '&lt;br /&gt;', $between = &quot; &quot;, $show_images = true,
</span><span class="cx">                                                           $orderby = 'id', $show_description = true, $limit = -1, $show_updated = 0) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'get_bookmarks()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
</ins><span class="cx"> 
</span><span class="cx">         get_links($category, $before, $after, $between, $show_images, $orderby, $show_description, true, $limit, $show_updated);
</span><span class="cx"> }
</span><span class="lines">@@ -647,12 +667,13 @@
</span><span class="cx">  * @return int Only returns 0.
</span><span class="cx">  */
</span><span class="cx"> function get_autotoggle($id = 0) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1'  );
</ins><span class="cx">         return 0;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * @since 0.71
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use wp_list_categories()
</span><span class="cx">  * @see wp_list_categories()
</span><span class="cx">  *
</span><span class="lines">@@ -679,7 +700,7 @@
</span><span class="cx"> function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_order = 'asc', $file = '', $list = true, $optiondates = 0,
</span><span class="cx">                                    $optioncount = 0, $hide_empty = 1, $use_desc_for_title = 1, $children=false, $child_of=0, $categories=0,
</span><span class="cx">                                    $recurse=0, $feed = '', $feed_image = '', $exclude = '', $hierarchical=false) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'wp_list_categories()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'wp_list_categories()' );
</ins><span class="cx"> 
</span><span class="cx">         $query = compact('optionall', 'all', 'sort_column', 'sort_order', 'file', 'list', 'optiondates', 'optioncount', 'hide_empty', 'use_desc_for_title', 'children',
</span><span class="cx">                 'child_of', 'categories', 'recurse', 'feed', 'feed_image', 'exclude', 'hierarchical');
</span><span class="lines">@@ -688,6 +709,7 @@
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * @since 1.2
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use wp_list_categories()
</span><span class="cx">  * @see wp_list_categories()
</span><span class="cx">  *
</span><span class="lines">@@ -695,7 +717,7 @@
</span><span class="cx">  * @return unknown
</span><span class="cx">  */
</span><span class="cx"> function wp_list_cats($args = '') {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'wp_list_categories()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'wp_list_categories()' );
</ins><span class="cx"> 
</span><span class="cx">         $r = wp_parse_args( $args );
</span><span class="cx"> 
</span><span class="lines">@@ -737,7 +759,7 @@
</span><span class="cx"> function dropdown_cats($optionall = 1, $all = 'All', $orderby = 'ID', $order = 'asc',
</span><span class="cx">                 $show_last_update = 0, $show_count = 0, $hide_empty = 1, $optionnone = false,
</span><span class="cx">                 $selected = 0, $exclude = 0) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'wp_dropdown_categories()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'wp_dropdown_categories()' );
</ins><span class="cx"> 
</span><span class="cx">         $show_option_all = '';
</span><span class="cx">         if ( $optionall )
</span><span class="lines">@@ -755,17 +777,19 @@
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * @since 2.1
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use wp_tiny_mce().
</span><span class="cx">  * @see wp_tiny_mce()
</span><span class="cx">  */
</span><span class="cx"> function tinymce_include() {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'wp_tiny_mce()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'wp_tiny_mce()' );
</ins><span class="cx"> 
</span><span class="cx">         wp_tiny_mce();
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * @since 1.2
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use wp_list_authors()
</span><span class="cx">  * @see wp_list_authors()
</span><span class="cx">  *
</span><span class="lines">@@ -778,7 +802,7 @@
</span><span class="cx">  * @return unknown
</span><span class="cx">  */
</span><span class="cx"> function list_authors($optioncount = false, $exclude_admin = true, $show_fullname = false, $hide_empty = true, $feed = '', $feed_image = '') {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'wp_list_authors()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'wp_list_authors()' );
</ins><span class="cx"> 
</span><span class="cx">         $args = compact('optioncount', 'exclude_admin', 'show_fullname', 'hide_empty', 'feed', 'feed_image');
</span><span class="cx">         return wp_list_authors($args);
</span><span class="lines">@@ -786,6 +810,7 @@
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * @since 1.0.1
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use wp_get_post_categories()
</span><span class="cx">  * @see wp_get_post_categories()
</span><span class="cx">  *
</span><span class="lines">@@ -794,7 +819,7 @@
</span><span class="cx">  * @return unknown
</span><span class="cx">  */
</span><span class="cx"> function wp_get_post_cats($blogid = '1', $post_ID = 0) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'wp_get_post_categories()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'wp_get_post_categories()' );
</ins><span class="cx">         return wp_get_post_categories($post_ID);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -802,6 +827,7 @@
</span><span class="cx">  * Sets the categories that the post id belongs to.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.0.1
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use wp_set_post_categories()
</span><span class="cx">  * @see wp_set_post_categories()
</span><span class="cx">  *
</span><span class="lines">@@ -811,12 +837,13 @@
</span><span class="cx">  * @return unknown
</span><span class="cx">  */
</span><span class="cx"> function wp_set_post_cats($blogid = '1', $post_ID = 0, $post_categories = array()) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'wp_set_post_categories()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'wp_set_post_categories()' );
</ins><span class="cx">         return wp_set_post_categories($post_ID, $post_categories);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * @since 0.71
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use wp_get_archives()
</span><span class="cx">  * @see wp_get_archives()
</span><span class="cx">  *
</span><span class="lines">@@ -829,7 +856,7 @@
</span><span class="cx">  * @return unknown
</span><span class="cx">  */
</span><span class="cx"> function get_archives($type='', $limit='', $format='html', $before = '', $after = '', $show_post_count = false) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'wp_get_archives()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'wp_get_archives()' );
</ins><span class="cx">         $args = compact('type', 'limit', 'format', 'before', 'after', 'show_post_count');
</span><span class="cx">         return wp_get_archives($args);
</span><span class="cx"> }
</span><span class="lines">@@ -838,6 +865,7 @@
</span><span class="cx">  * Returns or Prints link to the author's posts.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.2
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use get_author_posts_url()
</span><span class="cx">  * @see get_author_posts_url()
</span><span class="cx">  *
</span><span class="lines">@@ -847,7 +875,7 @@
</span><span class="cx">  * @return string|null
</span><span class="cx">  */
</span><span class="cx"> function get_author_link($echo = false, $author_id, $author_nicename = '') {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'get_author_posts_url()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'get_author_posts_url()' );
</ins><span class="cx"> 
</span><span class="cx">         $link = get_author_posts_url($author_id, $author_nicename);
</span><span class="cx"> 
</span><span class="lines">@@ -860,6 +888,7 @@
</span><span class="cx">  * Print list of pages based on arguments.
</span><span class="cx">  *
</span><span class="cx">  * @since 0.71
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use wp_link_pages()
</span><span class="cx">  * @see wp_link_pages()
</span><span class="cx">  *
</span><span class="lines">@@ -874,7 +903,7 @@
</span><span class="cx">  */
</span><span class="cx"> function link_pages($before='&lt;br /&gt;', $after='&lt;br /&gt;', $next_or_number='number', $nextpagelink='next page', $previouspagelink='previous page',
</span><span class="cx">                                         $pagelink='%', $more_file='') {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'wp_link_pages()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'wp_link_pages()' );
</ins><span class="cx"> 
</span><span class="cx">         $args = compact('before', 'after', 'next_or_number', 'nextpagelink', 'previouspagelink', 'pagelink', 'more_file');
</span><span class="cx">         return wp_link_pages($args);
</span><span class="lines">@@ -884,6 +913,7 @@
</span><span class="cx">  * Get value based on option.
</span><span class="cx">  *
</span><span class="cx">  * @since 0.71
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use get_option()
</span><span class="cx">  * @see get_option()
</span><span class="cx">  *
</span><span class="lines">@@ -891,7 +921,7 @@
</span><span class="cx">  * @return string
</span><span class="cx">  */
</span><span class="cx"> function get_settings($option) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'get_option()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'get_option()' );
</ins><span class="cx"> 
</span><span class="cx">         return get_option($option);
</span><span class="cx"> }
</span><span class="lines">@@ -900,11 +930,12 @@
</span><span class="cx">  * Print the permalink of the current post in the loop.
</span><span class="cx">  *
</span><span class="cx">  * @since 0.71
</span><ins>+ * @deprecated 1.2
</ins><span class="cx">  * @deprecated Use the_permalink()
</span><span class="cx">  * @see the_permalink()
</span><span class="cx">  */
</span><span class="cx"> function permalink_link() {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'the_permalink()');
</del><ins>+        _deprecated_function( __FUNCTION__, '1.2', 'the_permalink()' );
</ins><span class="cx">         the_permalink();
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -988,7 +1019,7 @@
</span><span class="cx">  */
</span><span class="cx"> function get_links($category = -1, $before = '', $after = '&lt;br /&gt;', $between = ' ', $show_images = true, $orderby = 'name',
</span><span class="cx">                         $show_description = true, $show_rating = false, $limit = -1, $show_updated = 1, $echo = true) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'get_bookmarks()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
</ins><span class="cx"> 
</span><span class="cx">         $order = 'ASC';
</span><span class="cx">         if ( substr($orderby, 0, 1) == '_' ) {
</span><span class="lines">@@ -1075,14 +1106,14 @@
</span><span class="cx">  *
</span><span class="cx">  * @author Dougal
</span><span class="cx">  * @since 1.0.1
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use wp_list_bookmarks()
</span><span class="cx">  * @see wp_list_bookmarks()
</span><span class="cx">  *
</span><span class="cx">  * @param string $order Sort link categories by 'name' or 'id'
</span><del>- * @param string $$deprecated Not Used
</del><span class="cx">  */
</span><del>-function get_links_list($order = 'name', $deprecated = '') {
-        _deprecated_function(__FUNCTION__, '0.0', 'wp_list_bookmarks()');
</del><ins>+function get_links_list($order = 'name') {
+        _deprecated_function( __FUNCTION__, '2.1', 'wp_list_bookmarks()' );
</ins><span class="cx"> 
</span><span class="cx">         $order = strtolower($order);
</span><span class="cx"> 
</span><span class="lines">@@ -1121,6 +1152,7 @@
</span><span class="cx">  * @link http://sprite.csr.unibo.it/fullo/
</span><span class="cx">  *
</span><span class="cx">  * @since 0.71
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated {@internal Use function instead is unknown}}
</span><span class="cx">  *
</span><span class="cx">  * @param string $text the text of the link
</span><span class="lines">@@ -1130,7 +1162,7 @@
</span><span class="cx">  * @param bool $count the number of links in the db
</span><span class="cx">  */
</span><span class="cx"> function links_popup_script($text = 'Links', $width=400, $height=400, $file='links.all.php', $count = true) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1'  );
</ins><span class="cx"> 
</span><span class="cx">         if ( $count )
</span><span class="cx">                 $counts = $wpdb-&gt;get_var(&quot;SELECT COUNT(*) FROM $wpdb-&gt;links&quot;);
</span><span class="lines">@@ -1147,6 +1179,7 @@
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * @since 1.0.1
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use sanitize_bookmark_field()
</span><span class="cx">  * @see sanitize_bookmark_field()
</span><span class="cx">  *
</span><span class="lines">@@ -1154,7 +1187,7 @@
</span><span class="cx">  * @return unknown
</span><span class="cx">  */
</span><span class="cx"> function get_linkrating($link) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'sanitize_bookmark_field()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'sanitize_bookmark_field()' );
</ins><span class="cx">         return sanitize_bookmark_field('link_rating', $link-&gt;link_rating, $link-&gt;link_id, 'display');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1162,6 +1195,7 @@
</span><span class="cx">  * Gets the name of category by id.
</span><span class="cx">  *
</span><span class="cx">  * @since 0.71
</span><ins>+ * @deprecated 2.1
</ins><span class="cx">  * @deprecated Use get_category()
</span><span class="cx">  * @see get_category()
</span><span class="cx">  *
</span><span class="lines">@@ -1169,7 +1203,7 @@
</span><span class="cx">  * @return string
</span><span class="cx">  */
</span><span class="cx"> function get_linkcatname($id = 0) {
</span><del>-        _deprecated_function(__FUNCTION__, '0.0', 'get_category()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.1', 'get_category()' );
</ins><span class="cx"> 
</span><span class="cx">         $id = (int) $id;
</span><span class="cx"> 
</span><span class="lines">@@ -1191,14 +1225,14 @@
</span><span class="cx">  * Print RSS comment feed link.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.0.1
</span><ins>+ * @deprecated 2.5
</ins><span class="cx">  * @deprecated Use post_comments_feed_link()
</span><span class="cx">  * @see post_comments_feed_link()
</span><span class="cx">  *
</span><span class="cx">  * @param string $link_text
</span><del>- * @param string $deprecated Not used
</del><span class="cx">  */
</span><del>-function comments_rss_link($link_text = 'Comments RSS', $deprecated = '') {
-        _deprecated_function(__FUNCTION__, '0.0', 'post_comments_feed_link()');
</del><ins>+function comments_rss_link($link_text = 'Comments RSS') {
+        _deprecated_function( __FUNCTION__, '2.5', 'post_comments_feed_link()' );
</ins><span class="cx">         post_comments_feed_link($link_text);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1206,16 +1240,16 @@
</span><span class="cx">  * Print/Return link to category RSS2 feed.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.2
</span><ins>+ * @deprecated 2.5
</ins><span class="cx">  * @deprecated Use get_category_feed_link()
</span><span class="cx">  * @see get_category_feed_link()
</span><span class="cx">  *
</span><span class="cx">  * @param bool $echo
</span><span class="cx">  * @param int $cat_ID
</span><del>- * @param string $deprecated Not used
</del><span class="cx">  * @return string|null
</span><span class="cx">  */
</span><del>-function get_category_rss_link($echo = false, $cat_ID = 1, $deprecated = '') {
-        _deprecated_function(__FUNCTION__, '0.0', 'get_category_feed_link()');
</del><ins>+function get_category_rss_link($echo = false, $cat_ID = 1) {
+        _deprecated_function( __FUNCTION__, '2.5', 'get_category_feed_link()' );
</ins><span class="cx"> 
</span><span class="cx">         $link = get_category_feed_link($cat_ID, 'rss2');
</span><span class="cx"> 
</span><span class="lines">@@ -1228,16 +1262,16 @@
</span><span class="cx">  * Print/Return link to author RSS feed.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.2
</span><ins>+ * @deprecated 2.5
</ins><span class="cx">  * @deprecated Use get_author_feed_link()
</span><span class="cx">  * @see get_author_feed_link()
</span><span class="cx">  *
</span><span class="cx">  * @param bool $echo
</span><span class="cx">  * @param int $author_id
</span><del>- * @param string $deprecated Not used
</del><span class="cx">  * @return string|null
</span><span class="cx">  */
</span><del>-function get_author_rss_link($echo = false, $author_id = 1, $deprecated = '') {
-        _deprecated_function(__FUNCTION__, '0.0', 'get_author_feed_link()');
</del><ins>+function get_author_rss_link($echo = false, $author_id = 1) {
+        _deprecated_function( __FUNCTION__, '2.5', 'get_author_feed_link()' );
</ins><span class="cx"> 
</span><span class="cx">         $link = get_author_feed_link($author_id);
</span><span class="cx">         if ( $echo )
</span><span class="lines">@@ -1249,26 +1283,29 @@
</span><span class="cx">  * Return link to the post RSS feed.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><ins>+ * @deprecated 2.2
</ins><span class="cx">  * @deprecated Use get_post_comments_feed_link()
</span><span class="cx">  * @see get_post_comments_feed_link()
</span><span class="cx">  *
</span><del>- * @param string $deprecated Not used
</del><span class="cx">  * @return string
</span><span class="cx">  */
</span><del>-function comments_rss($deprecated = '') {
-        _deprecated_function(__FUNCTION__, '2.2', 'get_post_comments_feed_link()');
</del><ins>+function comments_rss() {
+        _deprecated_function( __FUNCTION__, '2.2', 'get_post_comments_feed_link()' );
</ins><span class="cx">         return get_post_comments_feed_link();
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * An alias of wp_create_user().
</span><span class="cx">  *
</span><ins>+ * @since 2.0
+ * @deprecated 2.0
+ * @deprecated Use wp_create_user()
+ * @see wp_create_user()
+ *
</ins><span class="cx">  * @param string $username The user's username.
</span><span class="cx">  * @param string $password The user's password.
</span><span class="cx">  * @param string $email The user's email (optional).
</span><span class="cx">  * @return int The new user's ID.
</span><del>- * @deprecated Use wp_create_user()
- * @see wp_create_user()
</del><span class="cx">  */
</span><span class="cx"> function create_user($username, $password, $email) {
</span><span class="cx">         _deprecated_function( __FUNCTION__, '2.0', 'wp_create_user()' );
</span><span class="lines">@@ -1279,10 +1316,10 @@
</span><span class="cx">  * Unused Admin function.
</span><span class="cx">  *
</span><span class="cx">  * @since 2.0
</span><del>- * @param string $deprecated Unknown
</del><span class="cx">  * @deprecated 2.5
</span><ins>+ *
</ins><span class="cx">  */
</span><del>-function documentation_link( $deprecated = '' ) {
</del><ins>+function documentation_link() {
</ins><span class="cx">         _deprecated_function( __FUNCTION__, '2.5', '' );
</span><span class="cx">         return;
</span><span class="cx"> }
</span><span class="lines">@@ -1293,19 +1330,18 @@
</span><span class="cx">  * @deprecated 2.5
</span><span class="cx"> */
</span><span class="cx"> function gzip_compression() {
</span><ins>+        _deprecated_function( __FUNCTION__, '2.5', '' );
</ins><span class="cx">         return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Retrieve an array of comment data about comment $comment_ID.
</span><span class="cx">  *
</span><ins>+ * @since 0.71
+ * @deprecated 2.7
</ins><span class="cx">  * @deprecated Use get_comment()
</span><span class="cx">  * @see get_comment()
</span><del>- * @since 0.71
</del><span class="cx">  *
</span><del>- * @uses $id
- * @uses $wpdb Database Object
- *
</del><span class="cx">  * @param int $comment_ID The ID of the comment
</span><span class="cx">  * @param int $no_cache Whether to use the cache or not (casted to bool)
</span><span class="cx">  * @param bool $include_unapproved Whether to include unapproved comments or not
</span><span class="lines">@@ -1320,14 +1356,15 @@
</span><span class="cx">  * Retrieve the category name by the category ID.
</span><span class="cx">  *
</span><span class="cx">  * @since 0.71
</span><ins>+ * @deprecated 2.8
</ins><span class="cx">  * @deprecated Use get_cat_name()
</span><del>- * @see get_cat_name() get_catname() is deprecated in favor of get_cat_name().
</del><ins>+ * @see get_cat_name()
</ins><span class="cx">  *
</span><span class="cx">  * @param int $cat_ID Category ID
</span><span class="cx">  * @return string category name
</span><span class="cx">  */
</span><span class="cx"> function get_catname( $cat_ID ) {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'get_cat_name()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'get_cat_name()' );
</ins><span class="cx">         return get_cat_name( $cat_ID );
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1335,6 +1372,9 @@
</span><span class="cx">  * Retrieve category children list separated before and after the term IDs.
</span><span class="cx">  *
</span><span class="cx">  * @since 1.2.0
</span><ins>+ * @deprecated 2.8
+ * @deprecated Use get_term_children()
+ * @see get_term_children()
</ins><span class="cx">  *
</span><span class="cx">  * @param int $id Category ID to retrieve children.
</span><span class="cx">  * @param string $before Optional. Prepend before category term ID.
</span><span class="lines">@@ -1343,7 +1383,7 @@
</span><span class="cx">  * @return string
</span><span class="cx">  */
</span><span class="cx"> function get_category_children( $id, $before = '/', $after = '', $visited = array() ) {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'get_term_children()');
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'get_term_children()' );
</ins><span class="cx">         if ( 0 == $id )
</span><span class="cx">                 return '';
</span><span class="cx"> 
</span><span class="lines">@@ -1371,25 +1411,26 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  * @deprecated 2.8
</span><del>- * @uses $authordata The current author's DB object.
</del><ins>+ * @deprecated Use the_author_meta('description')
+ * @see get_the_author_meta()
+ *
</ins><span class="cx">  * @return string The author's description.
</span><del>- * @deprecated Use the_author_meta('description')
</del><span class="cx">  */
</span><span class="cx"> function get_the_author_description() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'description\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'description\')'  );
</ins><span class="cx">         return get_the_author_meta('description');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Display the description of the author of the current post.
</span><span class="cx">  *
</span><del>- * @link http://codex.wordpress.org/Template_Tags/the_author_description
</del><span class="cx">  * @since 1.0.0
</span><span class="cx">  * @deprecated 2.8
</span><span class="cx">  * @deprecated Use the_author_meta('description')
</span><ins>+ * @see the_author_meta()
</ins><span class="cx">  */
</span><span class="cx"> function the_author_description() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'description\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'description\')'  );
</ins><span class="cx">         the_author_meta('description');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1398,25 +1439,26 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  * @deprecated 2.8
</span><del>- * @uses $authordata The current author's DB object.
</del><ins>+ * @deprecated Use the_author_meta('login')
+ * @see get_the_author_meta()
+ *
</ins><span class="cx">  * @return string The author's login name (username).
</span><del>- * @deprecated Use the_author_meta('login')
</del><span class="cx">  */
</span><span class="cx"> function get_the_author_login() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'login\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'login\')'  );
</ins><span class="cx">         return get_the_author_meta('login');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Display the login name of the author of the current post.
</span><span class="cx">  *
</span><del>- * @link http://codex.wordpress.org/Template_Tags/the_author_login
</del><span class="cx">  * @since 0.71
</span><span class="cx">  * @deprecated 2.8
</span><span class="cx">  * @deprecated Use the_author_meta('login')
</span><ins>+ * @see the_author_meta()
</ins><span class="cx">  */
</span><span class="cx"> function the_author_login() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'login\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'login\')'  );
</ins><span class="cx">         the_author_meta('login');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1425,25 +1467,26 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  * @deprecated 2.8
</span><del>- * @uses $authordata The current author's DB object.
</del><ins>+ * @deprecated Use the_author_meta('first_name')
+ * @see get_the_author_meta()
+ *
</ins><span class="cx">  * @return string The author's first name.
</span><del>- * @deprecated Use the_author_meta('first_name')
</del><span class="cx">  */
</span><span class="cx"> function get_the_author_firstname() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'first_name\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'first_name\')'  );
</ins><span class="cx">         return get_the_author_meta('first_name');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Display the first name of the author of the current post.
</span><span class="cx">  *
</span><del>- * @link http://codex.wordpress.org/Template_Tags/the_author_firstname
</del><span class="cx">  * @since 0.71
</span><span class="cx">  * @deprecated 2.8
</span><span class="cx">  * @deprecated Use the_author_meta('first_name')
</span><ins>+ * @see the_author_meta()
</ins><span class="cx">  */
</span><span class="cx"> function the_author_firstname() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'first_name\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'first_name\')'  );
</ins><span class="cx">         the_author_meta('first_name');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1452,25 +1495,26 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  * @deprecated 2.8
</span><del>- * @uses $authordata The current author's DB object.
</del><ins>+ * @deprecated Use get_the_author_meta('last_name')
+ * @see get_the_author_meta()
+ *
</ins><span class="cx">  * @return string The author's last name.
</span><del>- * @deprecated Use the_author_meta('last_name')
</del><span class="cx">  */
</span><span class="cx"> function get_the_author_lastname() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'last_name\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'last_name\')'  );
</ins><span class="cx">         return get_the_author_meta('last_name');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Display the last name of the author of the current post.
</span><span class="cx">  *
</span><del>- * @link http://codex.wordpress.org/Template_Tags/the_author_lastname
</del><span class="cx">  * @since 0.71
</span><span class="cx">  * @deprecated 2.8
</span><span class="cx">  * @deprecated Use the_author_meta('last_name')
</span><ins>+ * @see the_author_meta()
</ins><span class="cx">  */
</span><span class="cx"> function the_author_lastname() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'last_name\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'last_name\')'  );
</ins><span class="cx">         the_author_meta('last_name');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1479,25 +1523,26 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  * @deprecated 2.8
</span><del>- * @uses $authordata The current author's DB object.
</del><ins>+ * @deprecated Use get_the_author_meta('nickname')
+ * @see get_the_author_meta()
+ *
</ins><span class="cx">  * @return string The author's nickname.
</span><del>- * @deprecated Use the_author_meta('nickname')
</del><span class="cx">  */
</span><span class="cx"> function get_the_author_nickname() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'nickname\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'nickname\')'  );
</ins><span class="cx">         return get_the_author_meta('nickname');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Display the nickname of the author of the current post.
</span><span class="cx">  *
</span><del>- * @link http://codex.wordpress.org/Template_Tags/the_author_nickname
</del><span class="cx">  * @since 0.71
</span><span class="cx">  * @deprecated 2.8
</span><span class="cx">  * @deprecated Use the_author_meta('nickname')
</span><ins>+ * @see the_author_meta()
</ins><span class="cx">  */
</span><span class="cx"> function the_author_nickname() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'nickname\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'nickname\')'  );
</ins><span class="cx">         the_author_meta('nickname');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1506,25 +1551,26 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  * @deprecated 2.8
</span><del>- * @uses $authordata The current author's DB object.
</del><ins>+ * @deprecated Use get_the_author_meta('email')
+ * @see get_the_author_meta()
+ *
</ins><span class="cx">  * @return string The author's username.
</span><del>- * @deprecated Use the_author_meta('email')
</del><span class="cx">  */
</span><span class="cx"> function get_the_author_email() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'email\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'email\')'  );
</ins><span class="cx">         return get_the_author_meta('email');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Display the email of the author of the current post.
</span><span class="cx">  *
</span><del>- * @link http://codex.wordpress.org/Template_Tags/the_author_email
</del><span class="cx">  * @since 0.71
</span><span class="cx">  * @deprecated 2.8
</span><span class="cx">  * @deprecated Use the_author_meta('email')
</span><ins>+ * @see the_author_meta()
</ins><span class="cx">  */
</span><span class="cx"> function the_author_email() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'email\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'email\')'  );
</ins><span class="cx">         the_author_meta('email');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1533,26 +1579,26 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  * @deprecated 2.8
</span><del>- * @uses $authordata The current author's DB object.
</del><ins>+ * @deprecated Use get_the_author_meta('icq')
+ * @see get_the_author_meta()
+ *
</ins><span class="cx">  * @return string The author's ICQ number.
</span><del>- * @deprecated Use the_author_meta('icq')
</del><span class="cx">  */
</span><span class="cx"> function get_the_author_icq() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'icq\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'icq\')'  );
</ins><span class="cx">         return get_the_author_meta('icq');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Display the ICQ number of the author of the current post.
</span><span class="cx">  *
</span><del>- * @link http://codex.wordpress.org/Template_Tags/the_author_icq
</del><span class="cx">  * @since 0.71
</span><span class="cx">  * @deprecated 2.8
</span><del>- * @see get_the_author_icq()
</del><span class="cx">  * @deprecated Use the_author_meta('icq')
</span><ins>+ * @see the_author_meta()
</ins><span class="cx">  */
</span><span class="cx"> function the_author_icq() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'icq\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'icq\')'  );
</ins><span class="cx">         the_author_meta('icq');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1561,25 +1607,26 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  * @deprecated 2.8
</span><del>- * @uses $authordata The current author's DB object.
</del><ins>+ * @deprecated Use get_the_author_meta('yim')
+ * @see get_the_author_meta()
+ *
</ins><span class="cx">  * @return string The author's Yahoo! IM name.
</span><del>- * @deprecated Use the_author_meta('yim')
</del><span class="cx">  */
</span><span class="cx"> function get_the_author_yim() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'yim\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'yim\')'  );
</ins><span class="cx">         return get_the_author_meta('yim');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Display the Yahoo! IM name of the author of the current post.
</span><span class="cx">  *
</span><del>- * @link http://codex.wordpress.org/Template_Tags/the_author_yim
</del><span class="cx">  * @since 0.71
</span><span class="cx">  * @deprecated 2.8
</span><span class="cx">  * @deprecated Use the_author_meta('yim')
</span><ins>+ * @see the_author_meta()
</ins><span class="cx">  */
</span><span class="cx"> function the_author_yim() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'yim\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'yim\')'  );
</ins><span class="cx">         the_author_meta('yim');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1588,26 +1635,26 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  * @deprecated 2.8
</span><del>- * @uses $authordata The current author's DB object.
</del><ins>+ * @deprecated Use get_the_author_meta('msn')
+ * @see get_the_author_meta()
+ *
</ins><span class="cx">  * @return string The author's MSN address.
</span><del>- * @deprecated Use the_author_meta('msn')
</del><span class="cx">  */
</span><span class="cx"> function get_the_author_msn() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'msn\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'msn\')'  );
</ins><span class="cx">         return get_the_author_meta('msn');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Display the MSN address of the author of the current post.
</span><span class="cx">  *
</span><del>- * @link http://codex.wordpress.org/Template_Tags/the_author_msn
</del><span class="cx">  * @since 0.71
</span><span class="cx">  * @deprecated 2.8
</span><del>- * @see get_the_author_msn()
</del><span class="cx">  * @deprecated Use the_author_meta('msn')
</span><ins>+ * @see the_author_meta()
</ins><span class="cx">  */
</span><span class="cx"> function the_author_msn() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'msn\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'msn\')'  );
</ins><span class="cx">         the_author_meta('msn');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1616,26 +1663,26 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  * @deprecated 2.8
</span><del>- * @uses $authordata The current author's DB object.
</del><ins>+ * @deprecated Use get_the_author_meta('aim')
+ * @see get_the_author_meta()
+ *
</ins><span class="cx">  * @return string The author's AIM address.
</span><del>- * @deprecated Use the_author_meta('aim')
</del><span class="cx">  */
</span><span class="cx"> function get_the_author_aim() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'aim\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'aim\')'  );
</ins><span class="cx">         return get_the_author_meta('aim');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Display the AIM address of the author of the current post.
</span><span class="cx">  *
</span><del>- * @link http://codex.wordpress.org/Template_Tags/the_author_aim
</del><span class="cx">  * @since 0.71
</span><ins>+ * @see the_author_meta()
</ins><span class="cx">  * @deprecated 2.8
</span><del>- * @see get_the_author_aim()
</del><span class="cx">  * @deprecated Use the_author_meta('aim')
</span><span class="cx">  */
</span><span class="cx"> function the_author_aim() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'aim\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'aim\')'  );
</ins><span class="cx">         the_author_meta('aim');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1644,12 +1691,14 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.0.0
</span><span class="cx">  * @deprecated 2.8
</span><ins>+ * @deprecated Use get_the_author_meta('display_name')
+ * @see get_the_author_meta()
+ *
</ins><span class="cx">  * @param int $auth_id The ID of the author.
</span><span class="cx">  * @return string The author's display name.
</span><del>- * @deprecated Use the_author_meta('display_name')
</del><span class="cx">  */
</span><span class="cx"> function get_author_name( $auth_id = false ) {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'display_name\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'display_name\')'  );
</ins><span class="cx">         return get_the_author_meta('display_name', $auth_id);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1658,23 +1707,26 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  * @deprecated 2.8
</span><del>- * @uses $authordata The current author's DB object.
</del><ins>+ * @deprecated Use get_the_author_meta('url')
+ * @see get_the_author_meta()
+ *
</ins><span class="cx">  * @return string The URL to the author's page.
</span><span class="cx">  */
</span><span class="cx"> function get_the_author_url() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'url\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'url\')'  );
</ins><span class="cx">         return get_the_author_meta('url');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Display the URL to the home page of the author of the current post.
</span><span class="cx">  *
</span><del>- * @link http://codex.wordpress.org/Template_Tags/the_author_url
</del><span class="cx">  * @since 0.71
</span><span class="cx">  * @deprecated 2.8
</span><ins>+ * @deprecated Use the_author_meta('url')
+ * @see the_author_meta()
</ins><span class="cx">  */
</span><span class="cx"> function the_author_url() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'url\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'url\')'  );
</ins><span class="cx">         the_author_meta('url');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1683,23 +1735,26 @@
</span><span class="cx">  *
</span><span class="cx">  * @since 1.5
</span><span class="cx">  * @deprecated 2.8
</span><ins>+ * @deprecated Use get_the_author_meta('ID')
+ * @see get_the_author_meta()
+ *
</ins><span class="cx">  * @return int The author's ID.
</span><span class="cx">  */
</span><span class="cx"> function get_the_author_ID() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'get_the_author_meta(\'ID\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'get_the_author_meta(\'ID\')'  );
</ins><span class="cx">         return get_the_author_meta('ID');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Display the ID of the author of the current post.
</span><span class="cx">  *
</span><del>- * @link http://codex.wordpress.org/Template_Tags/the_author_ID
</del><span class="cx">  * @since 0.71
</span><span class="cx">  * @deprecated 2.8
</span><del>- * @uses get_the_author_ID()
</del><ins>+ * @deprecated Use the_author_meta('ID')
+ * @see the_author_meta()
</ins><span class="cx"> */
</span><span class="cx"> function the_author_ID() {
</span><del>-        _deprecated_function(__FUNCTION__, '2.8', 'the_author_meta(\'ID\')' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'ID\')'  );
</ins><span class="cx">         the_author_meta('ID');
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1728,6 +1783,8 @@
</span><span class="cx">  *                parameters.
</span><span class="cx">  *
</span><span class="cx">  * @deprecated 2.9.0
</span><ins>+ * @deprecated Use the_content_feed()
+ * @see the_content_feed()
</ins><span class="cx">  *
</span><span class="cx">  * @param string $more_link_text Optional. Text to display when more content is available but not displayed.
</span><span class="cx">  * @param int|bool $stripteaser Optional. Default is 0.
</span><span class="lines">@@ -1736,7 +1793,7 @@
</span><span class="cx">  * @param int $encode_html Optional. How to encode the content.
</span><span class="cx">  */
</span><span class="cx"> function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) {
</span><del>-        _deprecated_function(__FUNCTION__, '2.9', 'the_content_feed' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.9', 'the_content_feed'  );
</ins><span class="cx">         $content = get_the_content($more_link_text, $stripteaser, $more_file);
</span><span class="cx">         $content = apply_filters('the_content_rss', $content);
</span><span class="cx">         if ( $cut &amp;&amp; !$encode_html )
</span><span class="lines">@@ -1782,7 +1839,7 @@
</span><span class="cx">  * @return string HTML stripped out of content with links at the bottom.
</span><span class="cx">  */
</span><span class="cx"> function make_url_footnote( $content ) {
</span><del>-        _deprecated_function(__FUNCTION__, '2.9', '' );
</del><ins>+        _deprecated_function( __FUNCTION__, '2.9', ''  );
</ins><span class="cx">         preg_match_all( '/&lt;a(.+?)href=\&quot;(.+?)\&quot;(.*?)&gt;(.+?)&lt;\/a&gt;/', $content, $matches );
</span><span class="cx">         $links_summary = &quot;\n&quot;;
</span><span class="cx">         for ( $i=0; $i&lt;count($matches[0]); $i++ ) {
</span></span></pre>
</div>
</div>

</body>
</html>