Changeset 41820 for trunk/src/wp-includes/wp-db.php
- Timestamp:
- 10/11/2017 12:09:47 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r41789 r41820 1480 1480 $socket = null; 1481 1481 $is_ipv6 = false; 1482 1482 1483 1483 if ( $host_data = $this->parse_db_host( $this->dbhost ) ) { 1484 1484 list( $host, $port, $socket, $is_ipv6 ) = $host_data; … … 1622 1622 } 1623 1623 1624 $host = ''; 1624 1625 foreach ( array( 'host', 'port', 'socket' ) as $component ) { 1625 if ( array_key_exists( $component, $matches) ) {1626 $$component = $matches[ $component];1626 if ( ! empty( $matches[ $component ] ) ) { 1627 $$component = $matches[ $component ]; 1627 1628 } 1628 1629 }
Note: See TracChangeset
for help on using the changeset viewer.