Make WordPress Core

Opened 12 years ago

Last modified 7 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:
Priority: normal Milestone:
Component: Database Version: 4.1.1
Severity: normal Keywords:
Cc: Focuses:

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).

Change History (0)

Note: See TracTickets for help on using tickets.