Skip to content

Commit

Permalink
[MOOSE-95]: update asset enqueuing for global editor assets
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoffDusome committed Mar 8, 2024
1 parent 6663491 commit b2ae784
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,7 @@ class Editor_Assets_Enqueuer extends Assets_Enqueuer {
public function register(): void {
$args = $this->get_asset_file_args( $this->assets_path . self::ASSETS_FILE );

wp_enqueue_style(
self::EDITOR,
$this->assets_path_uri . self::EDITOR_FILE_NAME . '.css',
[],
$args['version'] ?? false,
'all',
);
add_editor_style( $this->assets_path_uri . self::EDITOR_FILE_NAME . '.css', );

wp_enqueue_script(
self::EDITOR,
Expand Down

0 comments on commit b2ae784

Please sign in to comment.