This commit is contained in:
Django Doucet 2023-11-13 11:24:19 -07:00
parent 91f4622fd6
commit b4fde4a9fe
2 changed files with 4 additions and 4 deletions

View file

@ -44,9 +44,9 @@ class Application {
array( array(
'key' => 'protocol', 'key' => 'protocol',
'value' => 'activitypub', 'value' => 'activitypub',
'compare' => '=' 'compare' => '=',
), ),
) ),
); );
$comment_query = new WP_Comment_Query( $args ); $comment_query = new WP_Comment_Query( $args );
$known_commenters_all = []; $known_commenters_all = [];

View file

@ -291,9 +291,9 @@ class Scheduler {
array( array(
'key' => 'protocol', 'key' => 'protocol',
'value' => 'activitypub', 'value' => 'activitypub',
'compare' => '=' 'compare' => '=',
), ),
) ),
); );
$remote_comments_query = new WP_Comment_Query( $args ); $remote_comments_query = new WP_Comment_Query( $args );
foreach ( $remote_comments_query->comments as $comment ) { foreach ( $remote_comments_query->comments as $comment ) {