Results

Jason Stallings edited this page Jul 15, 2016 · 6 revisions

Compatibility

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
WP Migrate DB More details
Easy Digital Downloads More details

Details

Jetpack

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 Security

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.

WooCommerce

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.

WP Migrate DB

With WP Migrate DB you might get the following results:

FILE: /wp-migrate-db/class/wpmdb.php
-------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------
 389 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
-------------------------------------------------------------------------------------------------------------------------------------------

This is backwards compatible code that first checks to see if the mysql_ extension is available.

Easy Digital Downloads

Example results:

FILE: /easy-digital-downloads/includes/process-download.php
-----------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------
 127 | ERROR   | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.
 131 | WARNING | The use of function set_magic_quotes_runtime is discouraged from PHP version 5.3
-----------------------------------------------------------------------------------------------------------

This is a false positive caused by this. The team behind Easy Digital Downloads has confirmed PHP 7 support.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.