[wp-trac] [WordPress Trac] #34903: wpdb needs a close function

WordPress Trac noreply at wordpress.org
Tue Feb 2 00:12:30 UTC 2016


#34903: wpdb needs a close function
-----------------------------+--------------------------
 Reporter:  fabifott         |       Owner:  pento
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:  4.5
Component:  Database         |     Version:
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |     Focuses:  performance
-----------------------------+--------------------------
Changes (by pento):

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


Comment:

 In [changeset:"36433"]:
 {{{
 #!CommitTicketReference repository="" revision="36433"
 WPDB: Add a `close()` method to `wpdb`, for when the connection needs to
 be manually closed.

 In the event that it was closed prematurely, `wpdb::query()` will re-open
 the connection automatically.

 Fixes #34903.
 }}}

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


More information about the wp-trac mailing list