Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 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:


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 14 years ago.

Download all attachments as: .zip

Change History (5)

14 years ago

#1 @ocean90
14 years ago

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

#2 @dd32
14 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
14 years ago

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

#4 @dd32
14 years ago

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