From e91ca97e880c81731eb5e7dad8d374868fb28b1e Mon Sep 17 00:00:00 2001 From: Daniel Waxweiler Date: Sat, 9 Nov 2024 11:20:34 +0100 Subject: [PATCH] add version to wp_register_script() --- source/includes/EventsListBlock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/EventsListBlock.php b/source/includes/EventsListBlock.php index 5810587..1502afd 100644 --- a/source/includes/EventsListBlock.php +++ b/source/includes/EventsListBlock.php @@ -10,7 +10,7 @@ class EventsListBlock { 'wp-blocks', 'wp-components', 'wp-i18n' - ]); + ], ''); register_block_type(NAME . '/events-list', [ 'api_version' => 2, 'title' => __('Events List', 'connector-mobilizon'),