add version to wp_register_script()
This commit is contained in:
parent
df2feceaaa
commit
e91ca97e88
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue