Skip to content

Commit

Permalink
require api-fetch script as dependency too
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Nov 2, 2023
1 parent 45b67e7 commit 9661109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/CTB.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function ctb_scripts() {
wp_enqueue_script(
'newfold-global-ctb',
$assetsDir . 'ctb.js',
array( 'a11y-dialog', 'nfd-runtime' ),
array( 'a11y-dialog', 'wp-api-fetch', 'nfd-runtime' ),
container()->plugin()->version,
true
);
Expand Down

0 comments on commit 9661109

Please sign in to comment.