Merge branch 'trunk' into improve/actor-mode

This commit is contained in:
Matthias Pfefferle 2024-10-07 10:34:15 +02:00 committed by GitHub
commit 5a9ab69ab2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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;
}