Make WordPress Core


Ignore:
Timestamp:
07/10/2023 10:58:33 PM (11 months 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], [56178], [56179], [56180], [56191], [56192].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/class-wp-rest-server.php

    r56156 r56193  
    702702
    703703        foreach ( $data['_links'] as $rel => $links ) {
    704             // If a list of relations was specified, and the link relation
    705             // is not in the list of allowed relations, don't process the link.
     704            /*
     705             * If a list of relations was specified, and the link relation
     706             * is not in the list of allowed relations, don't process the link.
     707             */
    706708            if ( is_array( $embed ) && ! in_array( $rel, $embed, true ) ) {
    707709                continue;
Note: See TracChangeset for help on using the changeset viewer.