Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#13778 closed defect (bug) (fixed)

directory never closed in search_theme_directories()

Reported by: 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 5 years ago.

Download all attachments as: .zip

Change History (5)

@ScottMac5 years ago

comment:1 @ocean905 years ago

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

comment:2 @dd325 years ago

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

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

comment:3 @dd325 years ago

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

comment:4 @dd325 years ago

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