Skip to content

Commit

Permalink
avoid double slash
Browse files Browse the repository at this point in the history
  • Loading branch information
tillkruss authored Jul 29, 2024
1 parent a4a0584 commit e3b8fb2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion includes/class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,12 @@ public function enqueue_admin_styles() {
return;
}

wp_enqueue_style( 'redis-cache', WP_REDIS_PLUGIN_DIR . '/assets/css/admin.css', [], WP_REDIS_VERSION );
wp_enqueue_style(
'redis-cache',
trailingslashit( WP_REDIS_PLUGIN_DIR ) . 'assets/css/admin.css',
[],
WP_REDIS_VERSION
);
}

/**
Expand Down

0 comments on commit e3b8fb2

Please sign in to comment.