mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 14:47:02 +00:00
Docs: Miscellaneous DocBlock corrections.
See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48198 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -605,7 +605,8 @@ class WP_REST_Server {
|
||||
$embedded = array();
|
||||
|
||||
foreach ( $data['_links'] as $rel => $links ) {
|
||||
// If a list of relations was specified, and the link relation is not in the list of allowed relations, don't process the link.
|
||||
// If a list of relations was specified, and the link relation
|
||||
// is not in the list of allowed relations, don't process the link.
|
||||
if ( is_array( $embed ) && ! in_array( $rel, $embed, true ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user