[wp-trac] [WordPress Trac] #33105: On reconnect return the value of db_connect()

WordPress Trac noreply at wordpress.org
Thu Sep 24 04:29:42 UTC 2015


#33105: On reconnect return the value of db_connect()
--------------------------+---------------------
 Reporter:  markoheijnen  |       Owner:  pento
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  4.4
Component:  Database      |     Version:  3.9
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------
Changes (by pento):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34478"]:
 {{{
 #!CommitTicketReference repository="" revision="34478"
 WPDB: When attempting to fall back to `ext/mysql` in `db_connect()`,
 return the result of the fall back.

 While it doesn't affect Core, we should also be passing the `$allow_bail`
 parameter, for anything that uses it differently.

 Props markoheijnen, johnbillion.

 Fixes #33105.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33105#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list