Changeset 42701
- Timestamp:
- 02/11/2018 06:46:48 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r42343 r42701 419 419 } 420 420 421 $wpdb = new wpdb( DB_USER, DB_PASSWORD, DB_NAME, DB_HOST ); 421 $dbuser = defined( 'DB_USER' ) ? DB_USER : ''; 422 $dbpassword = defined( 'DB_PASSWORD' ) ? DB_PASSWORD : ''; 423 $dbname = defined( 'DB_NAME' ) ? DB_NAME : ''; 424 $dbhost = defined( 'DB_HOST' ) ? DB_HOST : ''; 425 426 $wpdb = new wpdb( $dbuser, $dbpassword, $dbname, $dbhost ); 422 427 } 423 428
Note: See TracChangeset
for help on using the changeset viewer.