Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#12297 closed defect (bug) (fixed)

[11737] uses a PHP 4.3.2 function

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


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
8 years ago

Two obvious workarounds are possible:

Use the $size variable to determine color depth.



#2 @dd32
8 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.