Skip to content

Commit ed084df

Browse files
committed
Bug fix: Switch to enqueue_block_assets caused error styles to appear on front end
It's clear why this is happening, it is not clear why I made the change in the first place.
1 parent 0ca93ac commit ed084df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-accessibility-alt.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ function wpa_add_editor_styles() {
256256
add_editor_style( plugins_url( 'css/editor-style.css', __FILE__ ), false, $wpa_version );
257257
}
258258

259-
add_action( 'enqueue_block_assets', 'wpa_block_editor_assets' );
259+
add_action( 'enqueue_block_editor_assets', 'wpa_block_editor_assets' );
260260
/**
261261
* Enqueue custom block editor styles for WP Accessibility. Used in display of img replacements.
262262
*/

0 commit comments

Comments
 (0)