Commit 2e30d92
committed
Remove DB_NAME fallback for the legacy driver
The filter-based fallback to 'database_name_here' was added to ease early
adoption of the new AST-based driver in projects that didn't define DB_NAME.
With the legacy driver removed, simplify to a plain ternary — matching how
WPDB itself handles the constant.1 parent eee9808 commit 2e30d92
1 file changed
Lines changed: 1 addition & 14 deletions
Lines changed: 1 addition & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 54 | + | |
68 | 55 | | |
69 | 56 | | |
70 | 57 | | |
| |||
0 commit comments