Skip to content

Commit e3b8fb2

Browse files
authored
avoid double slash
1 parent a4a0584 commit e3b8fb2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

includes/class-plugin.php

+6-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,12 @@ public function enqueue_admin_styles() {
333333
return;
334334
}
335335

336-
wp_enqueue_style( 'redis-cache', WP_REDIS_PLUGIN_DIR . '/assets/css/admin.css', [], WP_REDIS_VERSION );
336+
wp_enqueue_style(
337+
'redis-cache',
338+
trailingslashit( WP_REDIS_PLUGIN_DIR ) . 'assets/css/admin.css',
339+
[],
340+
WP_REDIS_VERSION
341+
);
337342
}
338343

339344
/**

0 commit comments

Comments
 (0)