Plugin URL Path
|Reported by:||enailor||Owned by:|
For simplicity sake, themes get a great option called bloginfo('template_url') that can be used for linking to theme files. Stylesheets get bloginfo('stylesheet_url') for liking to theme stylesheets. This would be a great addition if the same functionality were added to Plugins.
The main reason I have found for this is for SSL / Secured pages. Currently, any plugins that call for css sheets in the wp_head() use the get_bloginfo('wpurl') for the link to the css sheet. However, unless you make the wpurl a https link in the admin settings, the source code will require an unsecure link to the file. This produces the Mixed Security dialog box (This page contains both secure and nonsecure items. Do you want to display the nonsecure items?) On secure pages, this can make site visitors nervous.
Currently the only workaround I have found is to not call the wp_head() function on HTTPS pages, and that works, but I do lose any plugins that need the wp_head() function.
I suggest the addition of a bloginfo('plugin_url') function like the bloginfo('template_url') function that seems to be flexible enough to handle HTTPS vs HTTP calls.
Change History (6)
- Keywords reporter-feedback added; ssl plugins https removed
- Priority changed from high to normal