Hello, thanks for writing this plugin!
On one site where this plugin is used, we noticed multiple JavaScript script errors appearing across all pages following a recent deployment. The errors indicate missing asset dependencies in the WordPress block editor stack, causing a cascade failure rooted in wp-edit-post. In version version 1.4.3 the following lines were changed:
a25f447
# 1.4.2
add_action( 'enqueue_block_editor_assets', array( $this, 'add_editor_assets' ) );
add_action( 'enqueue_block_editor_assets', array( $this, 'add_init_scripts' ) );
#1.4.3
add_action( 'enqueue_block_assets', array( $this, 'add_editor_assets' ) );
add_action( 'enqueue_block_assets', array( $this, 'add_init_scripts' ) );
This results in editor styles loading in the public frontend (at least on older WordPress versions). Also editor-sidebar cannot load because wp-edit-post is missing. wp-edit-post itself is failing to load due to a long chain of missing dependencies including react-jsx-runtime, wp-block-editor, wp-components, and others.
We fixed it by pinning version 1.4.2 but thought it would be best to report it!
Hello, thanks for writing this plugin!
On one site where this plugin is used, we noticed multiple JavaScript script errors appearing across all pages following a recent deployment. The errors indicate missing asset dependencies in the WordPress block editor stack, causing a cascade failure rooted in wp-edit-post. In version version 1.4.3 the following lines were changed:
a25f447
This results in editor styles loading in the public frontend (at least on older WordPress versions). Also
editor-sidebarcannot load becausewp-edit-postis missing.wp-edit-postitself is failing to load due to a long chain of missing dependencies includingreact-jsx-runtime,wp-block-editor,wp-components, and others.We fixed it by pinning version 1.4.2 but thought it would be best to report it!