Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#13778 closed defect (bug) (fixed)

directory never closed in search_theme_directories()

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

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

Download all attachments as: .zip

Change History (5)

@ScottMac
16 years ago

#1 @ocean90
16 years ago

  • Component GeneralThemes
  • Keywords has-patch added

#2 @dd32
16 years ago

  • Resolutionfixed
  • Status newclosed

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

#3 @dd32
16 years ago

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

#4 @dd32
16 years ago

  • Milestone Unassigned3.0
  • Version3.0
Note: See TracTickets for help on using tickets.