Make WordPress Core

Opened 8 years ago

Closed 8 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 8 years ago.

Download all attachments as: .zip

Change History (3)

#1 @Nazgul
8 years ago

  • Keywords has-patch added

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