From be15022dcab246121721fabc10c2cd258218e669 Mon Sep 17 00:00:00 2001 From: Milan Ricoul Date: Thu, 18 Nov 2021 15:29:20 +0100 Subject: [PATCH] fix (Assets) : change default name for editor script and style --- inc/Services/Assets.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/Services/Assets.php b/inc/Services/Assets.php index a6fabfed..f9c0eff4 100644 --- a/inc/Services/Assets.php +++ b/inc/Services/Assets.php @@ -137,11 +137,11 @@ public function get_min_file( string $type ): string { case 'css': $file = $assets['app.css']; break; - case 'editor-style': - $file = $assets['editor-style.css']; + case 'editor.css': + $file = $assets['editor.css']; break; - case 'admin-editor-script': - $file = $assets['gutenberg-editor.js']; + case 'editor.js': + $file = $assets['editor.js']; break; case 'js': $file = $assets['app.js'];