Add "How to Check if It's Working" section in admin #70

Merged
linos merged 4 commits from improve_admin_help into main 2024-10-22 18:52:57 +02:00
3 changed files with 6 additions and 7 deletions
Showing only changes of commit e7fd05ce9a - Show all commits

View file

@ -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

View file

@ -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;
}

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;
$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 <code> and <a>).
$allowed_html = array(
'a' => array(
'href' => array(),
'href' => array(),
'target' => array(),
),
'nobr' => array(),