From 086cb19a041c5b213973b8599e115dbaaeac610d Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Mon, 20 Jan 2025 09:45:10 -0600 Subject: [PATCH] Align asterisks in block comments --- includes/class-query.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/includes/class-query.php b/includes/class-query.php index 5e8391745..0e72183f4 100644 --- a/includes/class-query.php +++ b/includes/class-query.php @@ -235,20 +235,20 @@ public function is_activitypub_request() { } /* - * The other (more common) option to make an ActivityPub request - * is to send an Accept header. - */ + * The other (more common) option to make an ActivityPub request + * is to send an Accept header. + */ if ( isset( $_SERVER['HTTP_ACCEPT'] ) ) { $accept = \sanitize_text_field( \wp_unslash( $_SERVER['HTTP_ACCEPT'] ) ); /* - * $accept can be a single value, or a comma separated list of values. - * We want to support both scenarios, - * and return true when the header includes at least one of the following: - * - application/activity+json - * - application/ld+json - * - application/json - */ + * $accept can be a single value, or a comma separated list of values. + * We want to support both scenarios, + * and return true when the header includes at least one of the following: + * - application/activity+json + * - application/ld+json + * - application/json + */ if ( \preg_match( '/(application\/(ld\+json|activity\+json|json))/i', $accept ) ) { $this->is_activitypub_request = true;