Changeset 56178 for trunk/src/wp-includes/class-wp-oembed.php
- Timestamp:
- 07/09/2023 09:23:34 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-oembed.php
r55988 r56178 621 621 622 622 if ( PHP_VERSION_ID < 80000 ) { 623 // This function has been deprecated in PHP 8.0 because in libxml 2.9.0, external entity loading 624 // is disabled by default, so this function is no longer needed to protect against XXE attacks. 625 // phpcs:ignore PHPCompatibility.FunctionUse.RemovedFunctions.libxml_disable_entity_loaderDeprecated 623 /* 624 * This function has been deprecated in PHP 8.0 because in libxml 2.9.0, external entity loading 625 * is disabled by default, so this function is no longer needed to protect against XXE attacks. 626 */ 626 627 $loader = libxml_disable_entity_loader( true ); 627 628 }
Note: See TracChangeset
for help on using the changeset viewer.