Changeset 51032
- Timestamp:
- 05/26/2021 04:04:50 PM (3 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r50965 r51032 6863 6863 6864 6864 if ( is_null( $overloaded ) ) { 6865 $overloaded = function_exists( 'mb_internal_encoding' ) && ( ini_get( 'mbstring.func_overload' ) & 2 ); // phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.mbstring_func_overloadDeprecated 6865 if ( function_exists( 'mb_internal_encoding' ) 6866 && ( (int) ini_get( 'mbstring.func_overload' ) & 2 ) // phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.mbstring_func_overloadDeprecated 6867 ) { 6868 $overloaded = true; 6869 } else { 6870 $overloaded = false; 6871 } 6866 6872 } 6867 6873 -
trunk/src/wp-includes/pomo/streams.php
r49184 r51032 19 19 */ 20 20 function __construct() { 21 $this->is_overloaded = ( ( ini_get( 'mbstring.func_overload' ) & 2 ) != 0 ) && function_exists( 'mb_substr' ); // phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.mbstring_func_overloadDeprecated 22 $this->_pos = 0; 21 if ( function_exists( 'mb_substr' ) 22 && ( (int) ini_get( 'mbstring.func_overload' ) & 2 ) // phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.mbstring_func_overloadDeprecated 23 ) { 24 $this->is_overloaded = true; 25 } else { 26 $this->is_overloaded = false; 27 } 28 29 $this->_pos = 0; 23 30 } 24 31
Note: See TracChangeset
for help on using the changeset viewer.