#2312 closed defect (bug) (fixed)
glob() requires PHP 4.3, site says PHP 4.2+
| Reported by: | Ozh | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 2.0 |
| Severity: | blocker | Keywords: | PHP 4.2 glob bg|has-patch |
| Cc: | Focuses: |
Description
line 1789 of wp-includes/functions.php uses glob(), which requires PHP 4.3, although the requirements page on wp.org says PHP 4.2+ is enough.
I guess a simple file_exist would work in most cases and keep things down to the minimum requirement.
Attachments (1)
Change History (7)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
We did have a glob() function in functions-compat.php, what happened to that?