From 02c86cde93414704ff7dab2bee8d52e17a21d495 Mon Sep 17 00:00:00 2001 From: Ari Stathopoulos Date: Thu, 16 Jun 2022 15:14:25 +0300 Subject: [PATCH] typo fix --- lib/blocks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/blocks.php b/lib/blocks.php index 21d1b8c830a404..53be4ee22abd96 100644 --- a/lib/blocks.php +++ b/lib/blocks.php @@ -195,7 +195,7 @@ function gutenberg_register_core_block_assets( $block_name ) { $editor_style_path = "build/block-library/blocks/$block_name/style-editor.css"; $stylesheet_url = gutenberg_url( $style_path ); $stylesheet_path = gutenberg_dir_path() . $style_path; - $stylesheet_path = is_rtl() ? str_replace( 'style.css', 'style-rtl.css', $style_path ) : $style_path; + $stylesheet_path = is_rtl() ? str_replace( 'style.css', 'style-rtl.css', $stylesheet_path ) : $stylesheet_path; if ( file_exists( $stylesheet_path ) ) { wp_deregister_style( "wp-block-{$block_name}" );