WordPress.org

Make WordPress Core

Opened 6 months ago

Closed 6 months 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 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:
PR Number:

Description

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 6 months ago.
Patch for it
47397.2.patch (732 bytes) - added by dkarfa 6 months ago.

Download all attachments as: .zip

Change History (3)

@dkarfa
6 months ago

Patch for it

@dkarfa
6 months ago

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