Skip to content

Commit 50f1417

Browse files
authored
Classic Editor: Fix browser console error for backbone.js (#119)
1 parent 1fcbceb commit 50f1417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/class-classic-editor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function admin_enqueue_scripts( $hook_suffix ) {
8080
wp_enqueue_script(
8181
CHBE_NAMESPACE,
8282
CHBE_URL . '/build/classic-editor.js',
83-
array(),
83+
array( 'wp-backbone' ),
8484
filemtime( CHBE_PATH . '/build/classic-editor.js' ),
8585
true
8686
);

0 commit comments

Comments
 (0)