[Plugin: BotBlocker] Incorrect Stylesheet Path
-
Hello,
The stylesheet path output by this plugin is incorrect in WP 3.4.1 and breaks when minified because of an extra forward slash before the stylesheet filename.
The addStylesheet function outputs the stylesheet path as https://siteurl.com/wp-content/plugins/botblocker//styles.css?ver=3.4.1
using the code:
wp_register_style( 'BotBlockerCSS', $pluginPath.'/styles.css');
Updating this code to the following corrects the issue:
wp_register_style( 'BotBlockerCSS', $pluginPath.'styles.css');
- The topic ‘[Plugin: BotBlocker] Incorrect Stylesheet Path’ is closed to new replies.