We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1abbf04 commit 2aab389Copy full SHA for 2aab389
.changelogs/fix_classic-editor.yml
@@ -0,0 +1,6 @@
1
+significance: patch
2
+type: fixed
3
+links:
4
+ - "#3012"
5
+entry: Additional check to avoid conflict with certain plugins alongside the
6
+ Classic Editor.
assets/js/private/llms-metaboxes.js
@@ -460,6 +460,7 @@
460
const canEditPost =
461
wp?.data &&
462
typeof wp.data.dispatch === 'function' &&
463
+ wp.data.dispatch( 'core/editor' ) !== null &&
464
typeof wp.data.dispatch( 'core/editor' ).editPost === 'function';
465
466
if ( ! canEditPost ) {
0 commit comments