Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#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's profile 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 5 years ago.
Patch for it
47397.2.patch (732 bytes) - added by dkarfa 5 years ago.

Download all attachments as: .zip

Change History (3)

5 years ago

Patch for it

5 years ago

#1 @ocean90
5 years 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.