<!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>[17079] trunk/wp-includes/wp-db.php: @since additions and updates.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/17079">17079</a></dd>
<dt>Author</dt> <dd>ryan</dd>
<dt>Date</dt> <dd>2010-12-20 12:49:18 +0000 (Mon, 20 Dec 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>@since additions and updates. Props demetris. fixes <a href="http://trac.wordpress.org/ticket/15867">#15867</a></pre>

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

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpincludeswpdbphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/wp-db.php (17078 => 17079)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/wp-db.php        2010-12-20 12:38:21 UTC (rev 17078)
+++ trunk/wp-includes/wp-db.php        2010-12-20 12:49:18 UTC (rev 17079)
</span><span class="lines">@@ -64,7 +64,7 @@
</span><span class="cx">          * Whether to suppress errors during the DB bootstrapping.
</span><span class="cx">          *
</span><span class="cx">          * @access private
</span><del>-         * @since 2.5
</del><ins>+         * @since 2.5.0
</ins><span class="cx">          * @var bool
</span><span class="cx">          */
</span><span class="cx">         var $suppress_errors = false;
</span><span class="lines">@@ -73,7 +73,7 @@
</span><span class="cx">          * The last error during query.
</span><span class="cx">          *
</span><span class="cx">          * @see get_last_error()
</span><del>-         * @since 2.5
</del><ins>+         * @since 2.5.0
</ins><span class="cx">          * @access private
</span><span class="cx">          * @var string
</span><span class="cx">          */
</span><span class="lines">@@ -91,7 +91,7 @@
</span><span class="cx">         /**
</span><span class="cx">          * Count of rows returned by previous query
</span><span class="cx">          *
</span><del>-         * @since 1.2
</del><ins>+         * @since 1.2.0
</ins><span class="cx">          * @access private
</span><span class="cx">          * @var int
</span><span class="cx">          */
</span><span class="lines">@@ -522,6 +522,8 @@
</span><span class="cx"> 
</span><span class="cx">         /**
</span><span class="cx">          * Set $this-&gt;charset and $this-&gt;collate
</span><ins>+         *
+         * @since 3.1.0
</ins><span class="cx">          */
</span><span class="cx">         function init_charset() {
</span><span class="cx">                 if ( function_exists('is_multisite') &amp;&amp; is_multisite() ) {
</span><span class="lines">@@ -541,6 +543,8 @@
</span><span class="cx">         /**
</span><span class="cx">          * Sets the connection's character set.
</span><span class="cx">          *
</span><ins>+         * @since 3.1.0
+         *
</ins><span class="cx">          * @param resource $dbh     The resource given by mysql_connect
</span><span class="cx">          * @param string   $charset The character set (optional)
</span><span class="cx">          * @param string   $collate The collation (optional)
</span><span class="lines">@@ -776,7 +780,7 @@
</span><span class="cx">          *
</span><span class="cx">          * @see mysql_real_escape_string()
</span><span class="cx">          * @see addslashes()
</span><del>-         * @since 2.8
</del><ins>+         * @since 2.8.0
</ins><span class="cx">          * @access private
</span><span class="cx">          *
</span><span class="cx">          * @param  string $string to escape
</span><span class="lines">@@ -794,7 +798,7 @@
</span><span class="cx">          *
</span><span class="cx">          * @uses wpdb::_escape()
</span><span class="cx">          * @uses wpdb::_real_escape()
</span><del>-         * @since  2.8
</del><ins>+         * @since  2.8.0
</ins><span class="cx">          * @access private
</span><span class="cx">          *
</span><span class="cx">          * @param  string|array $data
</span><span class="lines">@@ -997,7 +1001,7 @@
</span><span class="cx">          * By default database errors are suppressed, with a simple
</span><span class="cx">          * call to this function they can be enabled.
</span><span class="cx">          *
</span><del>-         * @since 2.5
</del><ins>+         * @since 2.5.0
</ins><span class="cx">          * @see wpdb::hide_errors()
</span><span class="cx">          * @param bool $suppress Optional. New value. Defaults to true.
</span><span class="cx">          * @return bool Old value
</span><span class="lines">@@ -1022,6 +1026,8 @@
</span><span class="cx"> 
</span><span class="cx">         /**
</span><span class="cx">          * Connect to and select database
</span><ins>+         *
+         * @since 3.0.0
</ins><span class="cx">          */
</span><span class="cx">         function db_connect() {
</span><span class="cx">                 global $db_list, $global_db_list;
</span><span class="lines">@@ -1511,7 +1517,7 @@
</span><span class="cx">         /**
</span><span class="cx">          * Determine if a database supports a particular feature
</span><span class="cx">          *
</span><del>-         * @since 2.7
</del><ins>+         * @since 2.7.0
</ins><span class="cx">          * @see   wpdb::db_version()
</span><span class="cx">          *
</span><span class="cx">          * @param string $db_cap the feature
</span><span class="lines">@@ -1558,6 +1564,8 @@
</span><span class="cx">         /**
</span><span class="cx">          * The database version number.
</span><span class="cx">          *
</span><ins>+         * @since 2.7.0
+         *
</ins><span class="cx">          * @return false|string false on failure, version number on success
</span><span class="cx">          */
</span><span class="cx">         function db_version() {
</span></span></pre>
</div>
</div>

</body>
</html>