Make WordPress Core


Ignore:
Timestamp:
07/09/2023 09:23:34 PM (2 years ago)
Author:
audrasjb
Message:

Docs: Replace multiple single line comments with multi-line comments.

This changeset updates various comments as per WordPress PHP Inline Documentation Standards.
See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#5-inline-comments.

Follow-up to [56174], [56175], [56176], [56177].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-oembed.php

    r55988 r56178  
    621621
    622622        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             */
    626627            $loader = libxml_disable_entity_loader( true );
    627628        }
Note: See TracChangeset for help on using the changeset viewer.