Changeset 28016
- Timestamp:
- 04/07/2014 10:01:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r28002 r28016 1300 1300 * Connect to and select database. 1301 1301 * 1302 * If $allow_bail is false, the lack of database connection will need 1303 * to be handled manually. 1304 * 1302 1305 * @since 3.0.0 1303 * 1304 * @param bool $allow_bail Optional. Allows the function to bail, default true. If this is set 1305 * to false, you will need to handle the lack of database connection 1306 * manually. Available since 3.9.0. 1307 * 1306 * @since 3.9.0 $allow_bail parameter added. 1307 * 1308 * @param bool $allow_bail Optional. Allows the function to bail. Default true. 1308 1309 * @return bool True with a successful connection, false on failure. 1309 1310 */ … … 1415 1416 * the template_redirect hook has been fired, return false instead. 1416 1417 * 1418 * If $allow_bail is false, the lack of database connection will need 1419 * to be handled manually. 1420 * 1417 1421 * @since 3.9.0 1418 1422 * 1419 * @param bool $allow_bail Optional. Allows the function to bail, default true. If this is set 1420 * to false, you will need to handle the lack of database connection 1421 * manually. 1422 * 1423 * @param bool $allow_bail Optional. Allows the function to bail. Default true. 1423 1424 * @return bool True if the connection is up. 1424 1425 */ … … 1599 1600 1600 1601 /** 1601 * Internal function to perform the mysql_query call1602 * Internal function to perform the mysql_query() call. 1602 1603 * 1603 1604 * @since 3.9.0 … … 1606 1607 * @see wpdb::query() 1607 1608 * 1608 * @param string $query The query to run 1609 * @param string $query The query to run. 1609 1610 */ 1610 1611 private function _do_query( $query ) {
Note: See TracChangeset
for help on using the changeset viewer.