Version Description
- Whitelisted UpdraftPlus and Max Mega Menu.
Download this release
Release Info
Developer | wpengine |
Plugin | PHP Compatibility Checker |
Version | 1.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.2.1 to 1.2.2
- readme.txt +6 -3
- src/wpephpcompat.php +3 -1
- wpengine-phpcompat.php +1 -1
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: wpengine, octalmage, stevenkword, Taylor4484, pross
|
|
3 |
Tags: php 7, php 5.5, php, version, compatibility, checker, wp engine, wpe, wpengine
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.6
|
6 |
-
Stable tag: 1.2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -114,6 +114,9 @@ To disclose security issues for this plugin please email WordPress@wpengine.com
|
|
114 |
|
115 |
== Changelog ==
|
116 |
|
|
|
|
|
|
|
117 |
= 1.2.1 =
|
118 |
- Updated the PHPCompatibility library to latest version
|
119 |
|
@@ -162,5 +165,5 @@ To disclose security issues for this plugin please email WordPress@wpengine.com
|
|
162 |
|
163 |
== Upgrade Notice ==
|
164 |
|
165 |
-
= 1.2.
|
166 |
-
-
|
3 |
Tags: php 7, php 5.5, php, version, compatibility, checker, wp engine, wpe, wpengine
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.6
|
6 |
+
Stable tag: 1.2.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
114 |
|
115 |
== Changelog ==
|
116 |
|
117 |
+
= 1.2.2 =
|
118 |
+
- Whitelisted UpdraftPlus and Max Mega Menu.
|
119 |
+
|
120 |
= 1.2.1 =
|
121 |
- Updated the PHPCompatibility library to latest version
|
122 |
|
165 |
|
166 |
== Upgrade Notice ==
|
167 |
|
168 |
+
= 1.2.2 =
|
169 |
+
- Whitelisted UpdraftPlus and Max Mega Menu.
|
src/wpephpcompat.php
CHANGED
@@ -70,6 +70,8 @@ class WPEPHPCompat {
|
|
70 |
'*/woocommerce/*' => '7.0', // https://github.com/wpengine/phpcompat/wiki/Results#woocommerce
|
71 |
'*/wp-migrate-db/*' => '7.0', // https://github.com/wpengine/phpcompat/wiki/Results#wp-migrate-db
|
72 |
'*/easy-digital-downloads/*' => '7.0', // https://github.com/wpengine/phpcompat/wiki/Results#easy-digital-downloads
|
|
|
|
|
73 |
);
|
74 |
|
75 |
/**
|
@@ -463,7 +465,7 @@ class WPEPHPCompat {
|
|
463 |
* @return boolean Returns true if the request came from the command line.
|
464 |
*/
|
465 |
private function is_command_line() {
|
466 |
-
return defined( 'WP_CLI' ) || defined( 'PHPUNIT_TEST' )
|
467 |
}
|
468 |
|
469 |
/**
|
70 |
'*/woocommerce/*' => '7.0', // https://github.com/wpengine/phpcompat/wiki/Results#woocommerce
|
71 |
'*/wp-migrate-db/*' => '7.0', // https://github.com/wpengine/phpcompat/wiki/Results#wp-migrate-db
|
72 |
'*/easy-digital-downloads/*' => '7.0', // https://github.com/wpengine/phpcompat/wiki/Results#easy-digital-downloads
|
73 |
+
'*/updraftplus/*' => '7.0',
|
74 |
+
'*/megamenu/*' => '7.0',
|
75 |
);
|
76 |
|
77 |
/**
|
465 |
* @return boolean Returns true if the request came from the command line.
|
466 |
*/
|
467 |
private function is_command_line() {
|
468 |
+
return defined( 'WP_CLI' ) || defined( 'PHPUNIT_TEST' ) || php_sapi_name() == ‘cli’;
|
469 |
}
|
470 |
|
471 |
/**
|
wpengine-phpcompat.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: PHP Compatibility Checker
|
|
4 |
Plugin URI: https://wpengine.com
|
5 |
Description: Make sure your plugins and themes are compatible with newer PHP versions.
|
6 |
Author: WP Engine
|
7 |
-
Version: 1.2.
|
8 |
Author URI: https://wpengine.com
|
9 |
Text Domain: php-compatibility-checker
|
10 |
*/
|
4 |
Plugin URI: https://wpengine.com
|
5 |
Description: Make sure your plugins and themes are compatible with newer PHP versions.
|
6 |
Author: WP Engine
|
7 |
+
Version: 1.2.2
|
8 |
Author URI: https://wpengine.com
|
9 |
Text Domain: php-compatibility-checker
|
10 |
*/
|