Ticket #47397: 47397.2.patch
File 47397.2.patch, 732 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/compat.php
510 510 require_once ABSPATH . WPINC . '/spl-autoload-compat.php'; 511 511 } 512 512 513 if ( ! function_exists( 'is_countable' ) ) {513 if ( ( version_compare( PHP_VERSION, '7.3' ) > 0 ) && ! function_exists( 'is_countable' ) ) { 514 514 /** 515 515 * Polyfill for is_countable() function added in PHP 7.3. 516 516 * … … 532 532 } 533 533 } 534 534 535 if ( ! function_exists( 'is_iterable' ) ) {535 if ( ( version_compare( PHP_VERSION, '7.3' ) > 0 ) && ! function_exists( 'is_iterable' ) ) { 536 536 /** 537 537 * Polyfill for is_iterable() function added in PHP 7.1. 538 538 *