Ticket #15867: t15867-wpdb-sinces.diff
File t15867-wpdb-sinces.diff, 2.3 KB (added by , 14 years ago) |
---|
-
wp-includes/wp-db.php
64 64 * Whether to suppress errors during the DB bootstrapping. 65 65 * 66 66 * @access private 67 * @since 2.5 67 * @since 2.5.0 68 68 * @var bool 69 69 */ 70 70 var $suppress_errors = false; … … 73 73 * The last error during query. 74 74 * 75 75 * @see get_last_error() 76 * @since 2.5 76 * @since 2.5.0 77 77 * @access private 78 78 * @var string 79 79 */ … … 91 91 /** 92 92 * Count of rows returned by previous query 93 93 * 94 * @since 1.2 94 * @since 1.2.0 95 95 * @access private 96 96 * @var int 97 97 */ … … 522 522 523 523 /** 524 524 * Set $this->charset and $this->collate 525 * 526 * @since 3.1.0 525 527 */ 526 528 function init_charset() { 527 529 if ( function_exists('is_multisite') && is_multisite() ) { … … 541 543 /** 542 544 * Sets the connection's character set. 543 545 * 546 * @since 3.1.0 547 * 544 548 * @param resource $dbh The resource given by mysql_connect 545 549 * @param string $charset The character set (optional) 546 550 * @param string $collate The collation (optional) … … 776 780 * 777 781 * @see mysql_real_escape_string() 778 782 * @see addslashes() 779 * @since 2.8 783 * @since 2.8.0 780 784 * @access private 781 785 * 782 786 * @param string $string to escape … … 794 798 * 795 799 * @uses wpdb::_escape() 796 800 * @uses wpdb::_real_escape() 797 * @since 2.8 801 * @since 2.8.0 798 802 * @access private 799 803 * 800 804 * @param string|array $data … … 997 1001 * By default database errors are suppressed, with a simple 998 1002 * call to this function they can be enabled. 999 1003 * 1000 * @since 2.5 1004 * @since 2.5.0 1001 1005 * @see wpdb::hide_errors() 1002 1006 * @param bool $suppress Optional. New value. Defaults to true. 1003 1007 * @return bool Old value … … 1022 1026 1023 1027 /** 1024 1028 * Connect to and select database 1029 * 1030 * @since 3.0.0 1025 1031 */ 1026 1032 function db_connect() { 1027 1033 global $db_list, $global_db_list; … … 1511 1517 /** 1512 1518 * Determine if a database supports a particular feature 1513 1519 * 1514 * @since 2.7 1520 * @since 2.7.0 1515 1521 * @see wpdb::db_version() 1516 1522 * 1517 1523 * @param string $db_cap the feature … … 1558 1564 /** 1559 1565 * The database version number. 1560 1566 * 1567 * @since 2.7.0 1568 * 1561 1569 * @return false|string false on failure, version number on success 1562 1570 */ 1563 1571 function db_version() {