Skip to content

Commit

Permalink
enqueue_block_assets is not the correct action here..
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Dec 6, 2024
1 parent 90766b1 commit 5ec00af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-accessibility-alt.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ function wpa_add_editor_styles() {
add_editor_style( plugins_url( 'css/editor-style.css', __FILE__ ), false, $wpa_version );
}

add_action( 'enqueue_block_editor_assets', 'wpa_block_editor_assets' );
add_action( 'enqueue_block_assets', 'wpa_block_editor_assets' );
/**
* Enqueue custom block editor styles for WP Accessibility. Used in display of img replacements.
*/
Expand Down

0 comments on commit 5ec00af

Please sign in to comment.