mirror of
https://github.com/Automattic/wordpress-activitypub
synced 2024-10-18 11:43:31 +00:00
Merge branch 'trunk' into improve/actor-mode
This commit is contained in:
commit
5a9ab69ab2
2 changed files with 2 additions and 2 deletions
2
.github/workflows/phpcs.yml
vendored
2
.github/workflows/phpcs.yml
vendored
|
@ -28,4 +28,4 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: composer install --prefer-dist --no-progress
|
||||
- name: Detect coding standard violations
|
||||
run: ./vendor/bin/phpcs -n -q
|
||||
run: ./vendor/bin/phpcs
|
||||
|
|
|
@ -302,7 +302,7 @@ class Activity_Dispatcher {
|
|||
$actor = object_to_uri( $object['attributedTo'] );
|
||||
$actor = Http::get_remote_object( $actor );
|
||||
|
||||
if ( ! $actor ) {
|
||||
if ( ! $actor || \is_wp_error( $actor ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue