phpcs
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 48s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 58s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m1s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m1s

This commit is contained in:
André Menrath 2024-10-22 18:46:37 +02:00
parent 61522ddcbe
commit e7fd05ce9a
3 changed files with 6 additions and 7 deletions

View file

@ -3,7 +3,7 @@
* Plugin Name: ActivityPub Event Bridge * Plugin Name: ActivityPub Event Bridge
* Description: Integrating popular event plugins with the ActivityPub plugin. * Description: Integrating popular event plugins with the ActivityPub plugin.
* Plugin URI: https://event-federation.eu/ * Plugin URI: https://event-federation.eu/
* Version: 0.1.1.6 * Version: 0.1.1
* Author: André Menrath * Author: André Menrath
* Author URI: https://graz.social/@linos * Author URI: https://graz.social/@linos
* Text Domain: activitypub-event-bridge * Text Domain: activitypub-event-bridge

View file

@ -162,8 +162,8 @@
.activitypub-event-bridge-settings-inline-icon { .activitypub-event-bridge-settings-inline-icon {
width: 1.5em; width: 1.5em;
height: 1.5em; height: 1.5em;
vertical-align: middle; vertical-align: middle;
margin: 0 0.3em; margin: 0 0.3em;
} }

View file

@ -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; $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 ) ) { if ( empty( $example_event_post ) ) {
$example_event_post = 'https://yoursite.com/events/event-name'; $example_event_post = 'https://yoursite.com/events/event-name';
@ -208,7 +207,7 @@ WP_Filesystem();
// Allowed HTML tags in the string (only <code> and <a>). // Allowed HTML tags in the string (only <code> and <a>).
$allowed_html = array( $allowed_html = array(
'a' => array( 'a' => array(
'href' => array(), 'href' => array(),
'target' => array(), 'target' => array(),
), ),
'nobr' => array(), 'nobr' => array(),