Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#12297 closed defect (bug) (fixed)

[11737] uses a PHP 4.3.2 function

Reported by: dd32's profile dd32 Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 2.9
Component: Media Keywords:
Focuses: Cc:

Description

Currently WordPress is set to require PHP 4.3, however [11737] introduced the usage of a PHP 4.3.2 function which is used when uploading PNG files.

3 other 4.3.2 functions are also used (imageantialias, imagesavealpha & apache_get_modules but all are checked for before being used.

Change History (2)

#1 @miqrogroove
14 years ago

Two obvious workarounds are possible:

Use the $size variable to determine color depth.

or

Wontfix.

#2 @dd32
14 years ago

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

(In [13857]) Check if function exists before using it. imageistruecolor() requires PHP 4.3.2, WordPress requires 4.3.0 at this stage. Fixes #12297

Note: See TracTickets for help on using tickets.