phpcs
This commit is contained in:
parent
5f6cf78da1
commit
04db99730d
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ class Webfinger {
|
|||
}
|
||||
|
||||
foreach ( $body['links'] as $link ) {
|
||||
if ( $link['rel'] === 'self' && $link['type'] == 'application/activity+json' ) {
|
||||
if ( 'self' === $link['rel'] && 'application/activity+json' === $link['type'] ) {
|
||||
return $link['href'];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue