Ticket #5416 (closed defect: fixed)

Opened 9 months ago

Last modified 8 months ago

WP req's PHP 4.2, Yet 4.3 functions used

Reported by: DD32 Assigned to: anonymous
Priority: normal Milestone: 2.5
Component: General Version: 2.5
Severity: normal Keywords: compat has-patch
Cc:

Description

Currently WordPress requires PHP 4.2, however, There are few PHP 4.3+ functions in use around WP which do not have a compat function:

ob_get_flush() = wp-includes/widgets.php
html_entity_decode() - wp-admin/import/blogger.php, wp-includes/widgets.php
ob_get_clean() - wp-admin/plugins.php

Any other PHP 4.3+ functions either have logic im place to use alternate methods, or there is a compatible function in compat.php for it.

Attachments

5416.diff (488 bytes) - added by Nazgul on 01/25/08 22:53:58.

Change History

01/25/08 20:07:26 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

Requirement bumped to 4.3. [6662]

01/25/08 21:19:23 changed by lloydbudd

  • milestone changed from 2.6 to 2.5.

01/25/08 22:53:35 changed by Nazgul

  • keywords changed from compat to compat has-patch.
  • status changed from closed to reopened.
  • resolution deleted.

The included readme.html also needs to be updated to mention PHP 4.3.

Patch attached.

01/25/08 22:53:58 changed by Nazgul

  • attachment 5416.diff added.

01/26/08 08:10:58 changed by westi

  • status changed from reopened to closed.
  • resolution set to fixed.

(In [6667]) Update the required version in the readme too. Fixes #5416 props Nazgul.