Admin.css is double slashed URL
-
Hello, I noticed a url of
/redis-cache//assets/css/admin.css
in my page source codeWP_REDIS_PLUGIN_DIR . '/assets/css/admin.css'
The above constant
WP_REDIS_PLUGIN_DIR
end with a slash due to howplugin_dir_url()
invokestrailingslashit()
on the path, adding the trailing slash.Is this constant useful if its only used once?
With thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.