Make WordPress Core

#47397 closed defect (bug) (wontfix)

Check if it is PHP 7.3 or not for compat function is_countable() and is_iterable()

Reported by: dkarfa Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


Checking it the current PHP version 7.3 or not before excute of is_countable() and is_iterable()

Attachments (2)

47397.patch (960 bytes) - added by dkarfa 15 months ago.
Patch for it
47397.2.patch (732 bytes) - added by dkarfa 15 months ago.

Download all attachments as: .zip

Change History (3)

15 months ago

Patch for it

15 months ago

#1 @ocean90
15 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Thanks for the patch but the version check is not necessary because of the function_exists() check which will only be true for PHP < 7.3.

Note: See TracTickets for help on using tickets.