Changeset 51636 for trunk/src/wp-includes/pomo/po.php
- Timestamp:
- 08/18/2021 09:57:21 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pomo/po.php
r51633 r51636 14 14 } 15 15 16 // This setting has been deprecated in PHP 8.1. 17 if ( PHP_VERSION_ID < 80100 ) { 18 ini_set( 'auto_detect_line_endings', 1 ); 19 } 16 /* 17 * The `auto_detect_line_endings` setting has been deprecated in PHP 8.1, 18 * but will continue to work until PHP 9.0. 19 * For now, we're silencing the deprecation notice as there may still be 20 * translation files around which haven't been updated in a long time and 21 * which still use the old MacOS standalone `\r` as a line ending. 22 * This fix should be revisited when PHP 9.0 is in alpha/beta. 23 */ 24 @ini_set( 'auto_detect_line_endings', 1 ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged 20 25 21 26 /**
Note: See TracChangeset
for help on using the changeset viewer.