WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 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:

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

Download all attachments as: .zip

Change History (3)

#1 @Nazgul
10 years ago

  • Keywords has-patch added

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