Created
September 17, 2018 02:38
-
-
Save nylen/6972a7a7bbeaa5a53818c224fc6c5b41 to your computer and use it in GitHub Desktop.
ClassicPress PHP version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ack -i 'version_compare.*php_version' | |
tests/phpunit/tests/functions.php:763: if ( version_compare( PHP_VERSION, '5.5', '<' ) ) { | |
tests/phpunit/tests/db/charset.php:365: if ( version_compare( PHP_VERSION, '5.3', '<') && stristr( php_uname( 's' ), 'win' ) ) { | |
tests/phpunit/tests/rest-api/rest-schema-setup.php:371: if ( version_compare( PHP_VERSION, '5.4', '>=' ) ) { | |
tests/phpunit/tests/rest-api/rest-schema-setup.php:380: if ( ! is_multisite() && version_compare( PHP_VERSION, '5.4', '>=' ) ) { | |
tests/phpunit/tests/rest-api/rest-request.php:458: if ( version_compare( PHP_VERSION, '5.3', '<' ) ) { | |
tests/phpunit/tests/rest-api/rest-request.php:474: if ( version_compare( PHP_VERSION, '5.3', '<' ) ) { | |
tests/phpunit/tests/customize/nav-menus.php:957: if ( version_compare( PHP_VERSION, '5.3', '>=' ) ) { | |
tests/phpunit/tests/theme/customHeader.php:128: if ( version_compare( PHP_VERSION, '5.3', '<' ) ) { | |
tests/phpunit/tests/theme/customHeader.php:212: if ( version_compare( PHP_VERSION, '5.3', '<' ) ) { | |
tests/phpunit/tests/load/isIniValueChangeable.php:42: if ( extension_loaded( 'Tidy' ) && version_compare( PHP_VERSION, '7.0.0', '>' ) ) { | |
tests/phpunit/tests/post/query.php:555: if ( version_compare( PHP_VERSION, '5.3', '<' ) ) { | |
tests/phpunit/tests/compat.php:249: if ( version_compare( PHP_VERSION, '5.4', '<' ) ) { | |
tests/phpunit/tests/widgets/media-widget.php:463: if ( version_compare( PHP_VERSION, '5.3', '<' ) ) { | |
src/wp-includes/functions.php:2995: if ( version_compare( PHP_VERSION, '5.5', '>=' ) ) { | |
src/wp-includes/functions.php:2997: } elseif ( version_compare( PHP_VERSION, '5.3', '>=' ) ) { | |
src/wp-includes/functions.php:3011: if ( false !== $json && ( version_compare( PHP_VERSION, '5.5', '>=' ) || false === strpos( $json, 'null' ) ) ) { | |
src/wp-includes/functions.php:5142: if ( version_compare( PHP_VERSION, '5.2.5', '>=' ) ) | |
src/wp-includes/class-wp-locale.php:209: if ( version_compare( PHP_VERSION, '5.4', '>=' ) ) { | |
src/wp-includes/class-wp-customize-manager.php:1371: if ( version_compare( PHP_VERSION, '5.6', '<' ) ) { | |
src/wp-includes/load.php:125: if ( version_compare( $required_php_version, $php_version, '>' ) ) { | |
src/wp-includes/class-simplepie.php:662: if (version_compare(PHP_VERSION, '5.2', '<')) | |
src/wp-includes/class-simplepie.php:703: if ((version_compare(PHP_VERSION, '5.3', '<') || !gc_enabled()) && !ini_get('zend.ze1_compatibility_mode')) | |
src/wp-includes/SimplePie/Item.php:125: if ((version_compare(PHP_VERSION, '5.3', '<') || !gc_enabled()) && !ini_get('zend.ze1_compatibility_mode')) | |
src/wp-includes/class-phpmailer.php:1095: if (version_compare(PHP_VERSION, '5.2.0') >= 0) { | |
src/wp-includes/class-phpmailer.php:2695: if (version_compare(PHP_VERSION, '5.3.0', '<')) { | |
src/wp-includes/class-phpmailer.php:2707: if (version_compare(PHP_VERSION, '5.3.0', '<')) { | |
src/wp-includes/class-phpmailer.php:3794: if (version_compare(PHP_VERSION, '5.3.0') >= 0 and | |
src/wp-admin/upgrade.php:50:$php_compat = version_compare( $php_version, $required_php_version, '>=' ); | |
src/wp-admin/install.php:234:$php_compat = version_compare( $php_version, $required_php_version, '>=' ); | |
src/wp-admin/includes/class-wp-automatic-updater.php:187: $php_compat = version_compare( phpversion(), $item->php_version, '>=' ); | |
src/wp-admin/includes/update-core.php:932: $php_compat = version_compare( $php_version, $required_php_version, '>=' ); | |
src/wp-admin/update-core.php:64: $php_compat = version_compare( $php_version, $update->php_version, '>=' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment