Changeset 58683
- Timestamp:
- 07/06/2024 03:05:37 PM (8 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r58682 r58683 1680 1680 } 1681 1681 1682 // Bit operator to workaround https://bugs.php.net/bug.php?id=44936 which changes access level to 63 in PHP 5.2.6 - 5.2.17.1683 1682 if ( isset( $ini_all[ $setting ]['access'] ) 1684 && ( INI_ALL === ( $ini_all[ $setting ]['access'] & 7 ) || INI_USER === ( $ini_all[ $setting ]['access'] & 7 ))1683 && ( INI_ALL === $ini_all[ $setting ]['access'] || INI_USER === $ini_all[ $setting ]['access'] ) 1685 1684 ) { 1686 1685 return true; -
trunk/tests/phpunit/tests/load/wpIsIniValueChangeable.php
r56971 r58683 42 42 ); 43 43 44 if ( PHP_VERSION_ID > 70000 &&extension_loaded( 'Tidy' ) ) {44 if ( extension_loaded( 'Tidy' ) ) { 45 45 $array[] = array( 'tidy.clean_output', true ); // PHP_INI_USER. 46 46 }
Note: See TracChangeset
for help on using the changeset viewer.