[wp-trac] [WordPress Trac] #31759: Allow to set $allow_bail when creating new wpdb object to handle connection error silently
WordPress Trac
noreply at wordpress.org
Wed Mar 25 08:49:26 UTC 2015
#31759: Allow to set $allow_bail when creating new wpdb object to handle connection
error silently
-------------------------+-----------------------------
Reporter: szaqal21 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: 4.1.1
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
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).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31759>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list