Changeset 30664
- Timestamp:
- 11/30/2014 09:54:08 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r30624 r30664 878 878 * @param int $blog_id 879 879 * @param int $site_id Optional. 880 * @return stringprevious blog id880 * @return int previous blog id 881 881 */ 882 882 public function set_blog_id( $blog_id, $site_id = 0 ) { … … 1240 1240 * 1241 1241 * @param string $str The error to display 1242 * @return bool False if the showing of errors is disabled.1242 * @return false|null False if the showing of errors is disabled. 1243 1243 */ 1244 1244 public function print_error( $str = '' ) { … … 1382 1382 * 1383 1383 * @param bool $allow_bail Optional. Allows the function to bail. Default true. 1384 * @return bool True with a successful connection, false on failure.1384 * @return null|bool True with a successful connection, false on failure. 1385 1385 */ 1386 1386 public function db_connect( $allow_bail = true ) { … … 1501 1501 * 1502 1502 * @param bool $allow_bail Optional. Allows the function to bail. Default true. 1503 * @return bool True if the connection is up.1503 * @return bool|null True if the connection is up. 1504 1504 */ 1505 1505 public function check_connection( $allow_bail = true ) { … … 2549 2549 * 2550 2550 * @param string $query The query to search. 2551 * @return string| bool$table The table name found, or false if a table couldn't be found.2551 * @return string|false $table The table name found, or false if a table couldn't be found. 2552 2552 */ 2553 2553 protected function get_table_from_query( $query ) { … … 2659 2659 * @since 1.5.0 2660 2660 * 2661 * @return true2661 * @return bool 2662 2662 */ 2663 2663 public function timer_start() { … … 2794 2794 * @since 2.7.0 2795 2795 * 2796 * @return false|string false on failure, version number on success2796 * @return null|string Null on failure, version number on success. 2797 2797 */ 2798 2798 public function db_version() {
Note: See TracChangeset
for help on using the changeset viewer.