From f4aadc00fcc41b2c21d8b69b6902e5b5a899ece1 Mon Sep 17 00:00:00 2001 From: Django Doucet Date: Thu, 18 May 2023 00:10:03 -0600 Subject: [PATCH] phpcs --- includes/rest/class-server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/rest/class-server.php b/includes/rest/class-server.php index c99bb34..dfee380 100644 --- a/includes/rest/class-server.php +++ b/includes/rest/class-server.php @@ -52,7 +52,7 @@ class Server { $json->{'@context'} = \Activitypub\get_context(); $json->id = get_rest_url_by_path( 'application' ); $json->type = 'Application'; - $json->preferredUsername = str_replace( array( '.' ), '-' , wp_parse_url( get_site_url(), PHP_URL_HOST ) ); // phpcs:ignore WordPress.NamingConventions + $json->preferredUsername = str_replace( array( '.' ), '-', wp_parse_url( get_site_url(), PHP_URL_HOST ) ); // phpcs:ignore WordPress.NamingConventions $json->name = get_bloginfo( 'name' ); $json->summary = 'WordPress-ActivityPub application actor'; $json->manuallyApprovesFollowers = true; // phpcs:ignore WordPress.NamingConventions