Skip to content

Commit cb08f43

Browse files
committed
fix(Editor): remove is_minified function condition
1 parent f1b0696 commit cb08f43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inc/Services/Editor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ private function style(): void {
7777
* Editor script
7878
*/
7979
public function admin_editor_script(): void {
80-
$file = $this->assets->is_minified() ? $this->assets->get_min_file( 'editor.js' ) : 'editor.js';
80+
$file = $this->assets->get_min_file( 'editor.js' );
8181
$filepath = 'dist/' . $file;
8282

8383
if ( ! file_exists( get_theme_file_path( $filepath ) ) ) {

0 commit comments

Comments
 (0)