add version to wp_register_script()

This commit is contained in:
Daniel Waxweiler 2024-11-09 11:20:34 +01:00
parent df2feceaaa
commit e91ca97e88
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ class EventsListBlock {
'wp-blocks',
'wp-components',
'wp-i18n'
]);
], '<wordpress-version>');
register_block_type(NAME . '/events-list', [
'api_version' => 2,
'title' => __('Events List', 'connector-mobilizon'),