Commit cdb494e
Remove unnecessary SQL mode check from wp db query command
This check was causing authentication failures when custom connection
parameters (like --host) were passed, because get_current_sql_modes()
ignored those parameters. The check is also unnecessary since wp db query
doesn't use WPDB directly, and was inconsistently applied (skipped for STDIN).
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>1 parent a224115 commit cdb494e
2 files changed
+0
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | 87 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | 536 | | |
542 | 537 | | |
543 | 538 | | |
| |||
0 commit comments