Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#13778 closed defect (bug) (fixed)

directory never closed in search_theme_directories()

Reported by: scottmac's profile ScottMac Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Themes Keywords: has-patch
Focuses: Cc:

Description

closedir() isn't called for the opendir resource due to a wrong variable name being used.

The is_dir call wasn't doing anything since the return value of opendir() was already checked.

Attachments (1)

theme.php.diff (338 bytes) - added by ScottMac 15 years ago.

Download all attachments as: .zip

Change History (5)

@ScottMac
15 years ago

#1 @ocean90
15 years ago

  • Component changed from General to Themes
  • Keywords has-patch added

#2 @dd32
15 years ago

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

(In [15166]) Use the correct variable name. Props ScottMac. Fixes #13778

#3 @dd32
15 years ago

(In [15167]) Use the correct variable name. See #13778

#4 @dd32
15 years ago

  • Milestone changed from Unassigned to 3.0
  • Version set to 3.0
Note: See TracTickets for help on using tickets.