Changes between Initial Version and Version 3 of Ticket #35560
- Timestamp:
- 01/22/2016 01:55:04 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35560
- Property Keywords reporter-feedback added
-
Property
Version
changed from
4.4.1
to
-
Ticket #35560 – Description
initial v3 8 8 9 9 # Solution 1, prepend above the "new wpdb()": 10 {{{ 10 11 if (!defined('DB_USER')) { 11 12 define('DB_USER', null); … … 20 21 define('DB_HOST', null); 21 22 } 23 }}} 22 24 23 25 # Solution 2, modify the "new wpdb()" line: 24 $wpdb = new wpdb( @DB_USER, @DB_PASSWORD, @DB_NAME, @DB_HOST ); 26 {{{$wpdb = new wpdb( @DB_USER, @DB_PASSWORD, @DB_NAME, @DB_HOST );}}} 25 27 26 28 Where I would prefer to use solution 1.