Make WordPress Core


Ignore:
Timestamp:
06/28/2020 11:51:29 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Miscellaneous DocBlock corrections.

See #49572.

File:
1 edited

Legend:

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

    r48121 r48198  
    606606
    607607        foreach ( $data['_links'] as $rel => $links ) {
    608             // If a list of relations was specified, and the link relation is not in the list of allowed relations, don't process the link.
     608            // If a list of relations was specified, and the link relation
     609            // is not in the list of allowed relations, don't process the link.
    609610            if ( is_array( $embed ) && ! in_array( $rel, $embed, true ) ) {
    610611                continue;
Note: See TracChangeset for help on using the changeset viewer.