From ecbe724b82d0ff035f275972f3be2b84a12e6f53 Mon Sep 17 00:00:00 2001 From: Django Doucet Date: Wed, 5 Oct 2022 14:50:58 -0600 Subject: [PATCH] code cleanup --- includes/class-activity-dispatcher.php | 2 +- includes/table/migrate-list.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/class-activity-dispatcher.php b/includes/class-activity-dispatcher.php index 9303edb..a017248 100644 --- a/includes/class-activity-dispatcher.php +++ b/includes/class-activity-dispatcher.php @@ -49,7 +49,7 @@ class Activity_Dispatcher { * Send "announce" activities. * * @param str $activitypub_url (ActivityPub object ID) - * @param absint $user_id + * @param absint $user_id */ public static function send_announce_activity( $activitypub_url, $user_id ) { // get latest version of post diff --git a/includes/table/migrate-list.php b/includes/table/migrate-list.php index 98d35ac..79a737b 100644 --- a/includes/table/migrate-list.php +++ b/includes/table/migrate-list.php @@ -109,7 +109,7 @@ class Migrate_List extends \WP_List_Table { \rawurlencode( $item['migrate'] ), $delete_announce_nonce, __( 'Delete the federated post, and re-share the original post', 'activitypub' ), - __( 'Delete & Re-share original', 'activitypub' ), + __( 'Delete & Re-share original', 'activitypub' ) ), 'delete' => sprintf( '%s', @@ -119,7 +119,7 @@ class Migrate_List extends \WP_List_Table { \rawurlencode( $item['migrate'] ), $delete_nonce, __( 'Delete the federated post', 'activitypub' ), - __( 'Delete', 'activitypub' ), + __( 'Delete', 'activitypub' ) ), ); return sprintf( '%1$s %2$s', $item['title'], $this->row_actions( $actions, true ) );