Changeset 47107 for trunk/src/wp-includes/wp-db.php
- Timestamp:
- 01/23/2020 12:25:38 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r47088 r47107 605 605 */ 606 606 public function __construct( $dbuser, $dbpassword, $dbname, $dbhost ) { 607 register_shutdown_function( array( $this, '__destruct' ) );608 609 607 if ( WP_DEBUG && WP_DEBUG_DISPLAY ) { 610 608 $this->show_errors(); … … 631 629 632 630 $this->db_connect(); 633 }634 635 /**636 * PHP5 style destructor and will run when database object is destroyed.637 *638 * @see wpdb::__construct()639 * @since 2.0.8640 * @return true641 */642 public function __destruct() {643 return true;644 631 } 645 632
Note: See TracChangeset
for help on using the changeset viewer.