WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#36240 closed defect (bug) (fixed)

wpdb close should reset variables

Reported by: spacedmonkey Owned by: pento
Milestone: 4.5 Priority: normal
Severity: normal Version: 4.6
Component: Database Keywords:
Focuses: Cc:
PR Number:

Description

The close method should set $this->ready or $this->has_connected should be set to false.

Change History (2)

#1 @pento
4 years ago

  • Focuses performance removed
  • Milestone changed from Awaiting Review to 4.5
  • Owner set to pento
  • Status changed from new to assigned

#2 @pento
4 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 36997:

WPDB: Reset connection status variables when the connection is closed.

Fixes #36240.

Note: See TracTickets for help on using tickets.