Ticket #5416 (closed defect (bug): fixed)

Opened 4 years ago

Last modified 4 years ago

WP req's PHP 4.2, Yet 4.3 functions used

Reported by: DD32 Owned by: 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 Download (488 bytes) - added by Nazgul 4 years ago.

Change History

comment:1   ryan4 years ago

  • Status changed from new to closed
  • Resolution set to fixed

Requirement bumped to 4.3. [6662]

  • Milestone changed from 2.6 to 2.5
  • Keywords has-patch added
  • Status changed from closed to reopened
  • Resolution fixed deleted

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

Patch attached.

Nazgul4 years ago

  • Status changed from reopened to closed
  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.