WordPress.org

Ready to get started?Download WordPress

Forums

BotBlocker
Incorrect Stylesheet Path (1 post)

  1. counterfill
    Member
    Posted 1 year ago #

    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 http://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');

    http://wordpress.org/extend/plugins/botblocker/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic