Skip to content

Commit e523f8d

Browse files
committed
Update wp-accessibility-alt.php
1 parent 46ed713 commit e523f8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wp-accessibility-alt.php

+1
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ function wpa_add_editor_styles() {
261261
* Enqueue custom block editor styles for WP Accessibility. Used in display of img replacements.
262262
*/
263263
function wpa_block_editor_assets() {
264+
// Using enqueue_block_assets will enqueue on the front-end if not wrapped in conditional.
264265
if ( is_admin() ) {
265266
$wpa_version = ( SCRIPT_DEBUG ) ? wp_rand( 10000, 100000 ) : wpa_check_version();
266267
wp_enqueue_style( 'wpa-block-styles', plugins_url( 'css/editor-style.css', __FILE__ ), false, $wpa_version );

0 commit comments

Comments
 (0)