From e7fd05ce9a715d49209392c17feeb833668826c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Tue, 22 Oct 2024 18:46:37 +0200 Subject: [PATCH] phpcs --- activitypub-event-bridge.php | 2 +- assets/css/activitypub-event-bridge-admin.css | 4 ++-- templates/welcome.php | 7 +++---- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/activitypub-event-bridge.php b/activitypub-event-bridge.php index 88a772c..b1cb2ea 100644 --- a/activitypub-event-bridge.php +++ b/activitypub-event-bridge.php @@ -3,7 +3,7 @@ * Plugin Name: ActivityPub Event Bridge * Description: Integrating popular event plugins with the ActivityPub plugin. * Plugin URI: https://event-federation.eu/ - * Version: 0.1.1.6 + * Version: 0.1.1 * Author: André Menrath * Author URI: https://graz.social/@linos * Text Domain: activitypub-event-bridge diff --git a/assets/css/activitypub-event-bridge-admin.css b/assets/css/activitypub-event-bridge-admin.css index 8c73add..c89ec6e 100644 --- a/assets/css/activitypub-event-bridge-admin.css +++ b/assets/css/activitypub-event-bridge-admin.css @@ -162,8 +162,8 @@ .activitypub-event-bridge-settings-inline-icon { width: 1.5em; - height: 1.5em; - vertical-align: middle; + height: 1.5em; + vertical-align: middle; margin: 0 0.3em; } diff --git a/templates/welcome.php b/templates/welcome.php index 7d72968..cb63f5c 100644 --- a/templates/welcome.php +++ b/templates/welcome.php @@ -20,10 +20,9 @@ use ActivityPub_Event_Bridge\Admin\Health_Check; ) ); -$active_event_plugins = Setup::get_instance()->get_active_event_plugins(); +$active_event_plugins = Setup::get_instance()->get_active_event_plugins(); $activitypub_event_bridge_status_ok = true; - -$example_event_post = Health_Check::get_most_recent_event_posts(); +$example_event_post = Health_Check::get_most_recent_event_posts(); if ( empty( $example_event_post ) ) { $example_event_post = 'https://yoursite.com/events/event-name'; @@ -208,7 +207,7 @@ WP_Filesystem(); // Allowed HTML tags in the string (only and ). $allowed_html = array( 'a' => array( - 'href' => array(), + 'href' => array(), 'target' => array(), ), 'nobr' => array(),