From c748d12d8948c7e1b1816fa2e92648cf2bf5f615 Mon Sep 17 00:00:00 2001 From: Matt Wiebe Date: Wed, 30 Aug 2023 14:23:20 -0500 Subject: [PATCH] fix lint issues (#406) --- includes/transformer/class-post.php | 2 +- templates/welcome.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/transformer/class-post.php b/includes/transformer/class-post.php index cc8a1c6..09b79e4 100644 --- a/includes/transformer/class-post.php +++ b/includes/transformer/class-post.php @@ -357,7 +357,7 @@ class Post { $mentions = $this->get_mentions(); if ( $mentions ) { - foreach ( $mentions as $mention => $url ) { + foreach ( $mentions as $url ) { $cc[] = $url; } } diff --git a/templates/welcome.php b/templates/welcome.php index 2eee816..cf26cfe 100644 --- a/templates/welcome.php +++ b/templates/welcome.php @@ -87,6 +87,7 @@ Site Health page to ensure that your site is compatible and/or use the "Help" tab (in the top right of the settings pages).', 'activitypub'