Opened 9 years ago
Last modified 5 years ago
#31759 new enhancement
Allow to set $allow_bail when creating new wpdb object to handle connection error silently
Reported by: | szaqal21 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.1.1 |
Component: | Database | Keywords: | |
Focuses: | Cc: |
Description
Class wpdb doesn't allow to set $allow_bail when creating new wpdb object. So there will be always error 500 on connection error. It would be great to have possibility to set $allow_bail at wpdb object creation (by constructor arguments perhaps).
Note: See
TracTickets for help on using
tickets.