diff --git a/includes/class-plugin.php b/includes/class-plugin.php index 9bc95f31..0fee1938 100644 --- a/includes/class-plugin.php +++ b/includes/class-plugin.php @@ -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 + ); } /**