Ticket #49922: 49922.3.diff
File 49922.3.diff, 1.9 KB (added by , 5 years ago) |
---|
-
src/wp-admin/includes/class-ftp.php
899 899 $mod_sockets = extension_loaded( 'sockets' ); 900 900 if ( ! $mod_sockets && function_exists( 'dl' ) && is_callable( 'dl' ) ) { 901 901 $prefix = ( PHP_SHLIB_SUFFIX == 'dll' ) ? 'php_' : ''; 902 @dl( $prefix . 'sockets.' . PHP_SHLIB_SUFFIX ); 902 @dl( $prefix . 'sockets.' . PHP_SHLIB_SUFFIX ); // phpcs:ignore PHPCompatibility.FunctionUse.RemovedFunctions.dlDeprecated 903 903 $mod_sockets = extension_loaded( 'sockets' ); 904 904 } 905 905 -
src/wp-includes/functions.php
6620 6620 static $overloaded = null; 6621 6621 6622 6622 if ( is_null( $overloaded ) ) { 6623 $overloaded = function_exists( 'mb_internal_encoding' ) && ( ini_get( 'mbstring.func_overload' ) & 2 ); 6623 $overloaded = function_exists( 'mb_internal_encoding' ) && ( ini_get( 'mbstring.func_overload' ) & 2 ); // phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.mbstring_func_overloadDeprecated 6624 6624 } 6625 6625 6626 6626 if ( false === $overloaded ) { -
src/wp-includes/pomo/streams.php
18 18 * PHP5 constructor. 19 19 */ 20 20 function __construct() { 21 $this->is_overloaded = ( ( ini_get( 'mbstring.func_overload' ) & 2 ) != 0 ) && function_exists( 'mb_substr' ); 21 $this->is_overloaded = ( ( ini_get( 'mbstring.func_overload' ) & 2 ) != 0 ) && function_exists( 'mb_substr' ); // phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.mbstring_func_overloadDeprecated 22 22 $this->_pos = 0; 23 23 } 24 24