Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#4450 closed defect (bug) (fixed)

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

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


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

Download all attachments as: .zip

Change History (3)

#1 @Nazgul
11 years ago

  • Keywords has-patch added

#2 @ryan
11 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.