-
Notifications
You must be signed in to change notification settings - Fork 39
Results
Jason Stallings edited this page Jul 11, 2016
·
6 revisions
| Plugin/Theme | PHP 5.3 | PHP 5.4 | PHP 5.5 | PHP 7.0 | Comments |
|---|---|---|---|---|---|
| Jetpack | ✅ | ✅ | ✅ | ✅ | More details |
| Wordfence Security | ✅ | ✅ | ✅ | ✅ | More details |
| WooCommerce | ✅ | ✅ | ✅ | ✅ | More details |
Jetpack reports the following issues when scanned for anything above 5.3:
FILE: /jetpack/_inc/lib/markdown/extra.php
---------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
---------------------------------------------------------------------------------------
1739 | ERROR | Using a call-time pass-by-reference is prohibited since php 5.4
2329 | ERROR | Using a call-time pass-by-reference is prohibited since php 5.4
2439 | ERROR | Using a call-time pass-by-reference is prohibited since php 5.4
2499 | ERROR | Using a call-time pass-by-reference is prohibited since php 5.4
2505 | ERROR | Using a call-time pass-by-reference is prohibited since php 5.4
---------------------------------------------------------------------------------------
This is a false positive caused by a bug in the PHP Compatibility checker, you can read about this here. Jetpack's developers have confirmed that Jetpack is compatible with PHP 7.
Wordfence reports the following issues when scanned with PHP 7:
FILE: /wordfence/lib/wfGeoIP.php
---------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------
759 | ERROR | 'string' is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
---------------------------------------------------------------------------------------------------------------------------
FILE: /wordfence/vendor/wordfence/wf-waf/src/lib/utils.php
----------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
347 | ERROR | INI directive 'magic_quotes_sybase' is deprecated from PHP 5.3 and forbidden from PHP 5.4.
----------------------------------------------------------------------------------------------------------
These are both false positives, the first issue is being worked on here, and the second here.
If you scan WooCommerce you might see a report that looks like this:
FILE: /woocommerce/includes/wc-core-functions.php
-------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------
1341 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.
-------------------------------------------------------------------------------------------------
This is a false positive caused by this.