Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#4450 closed defect (bug) (fixed)

replace dir class with (open|read|close)dir

Reported by: nbachiyski's profile nbachiyski Owned by:
Milestone: 2.3 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: Cc:

Description

Using the dir class causes problems on some PHP 5.0.x versions. When changed to the standard functions everything works fine.

Thanks to Marian Marinov for spotting this one.

Attachments (1)

opendir-instead-of-dir.diff (5.9 KB) - added by nbachiyski 19 years ago.

Download all attachments as: .zip

Change History (3)

#1 @Nazgul
19 years ago

  • Keywords has-patch added

#2 @ryan
19 years ago

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

(In [5867]) Use opendir instead of dir. Props nbachiyski. fixes #4450

Note: See TracTickets for help on using tickets.