Questions about Deprecated Code for PHP 5.4
-
I am migrating three sites: two are WP 3.6 and one is WP 4.0. The migration service gave me an audit report of items not compatible with PHP 5.4 on the new server. The report notes that the following need to be updated for v5.4:
/wp-admin/includes/class-ftp.php:
@dl( $prefix . 'sockets.' . PHP_SHLIB_SUFFIX );
/wp-admin/includes/class-phpmailer.php:
ini_set( 'magic_quotes_runtime', 0 );
I have tried to learn more about these sections of code, but I can’t find anything that says why they’re not compatible or what to replace them with. In addition, the audit report says that WP 3.5 and higher are compatible with PHP 5.4; so that leads me to wonder why there is even a problem with the above snippets. Are they not part of the core WP files? Any layman-friendly explanation would be very helpful and much appreciated. Thanks.
- The topic ‘Questions about Deprecated Code for PHP 5.4’ is closed to new replies.