Quantcast
Channel: WordPress.org Forums » [Redis Object Cache] Support
Viewing all articles
Browse latest Browse all 111

Admin.css is double slashed URL

$
0
0

Replies: 0

Hello, I noticed a url of /redis-cache//assets/css/admin.css in my page source code

WP_REDIS_PLUGIN_DIR . '/assets/css/admin.css'

The above constant WP_REDIS_PLUGIN_DIR end with a slash due to how plugin_dir_url() invokes trailingslashit() on the path, adding the trailing slash.

Is this constant useful if its only used once?

With thanks


Viewing all articles
Browse latest Browse all 111

Trending Articles