Skip to content

Commit

Permalink
add version to wp_register_script()
Browse files Browse the repository at this point in the history
  • Loading branch information
dwaxweiler committed Nov 9, 2024
1 parent df2fece commit e91ca97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/includes/EventsListBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static function initAndReturnScriptName(): string {
'wp-blocks',
'wp-components',
'wp-i18n'
]);
], '<wordpress-version>');
register_block_type(NAME . '/events-list', [
'api_version' => 2,
'title' => __('Events List', 'connector-mobilizon'),
Expand Down

0 comments on commit e91ca97

Please sign in to comment.