WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
[resolved] wpp.css loaded over http on https pages (2 posts)

  1. goto10
    Member
    Posted 3 years ago #

    Hi,

    Great plugin. One issue though...

    wpp.css is loaded using WP_PLUGIN_URL which causes a mixed content warning on SSL pages.

    To fix this, I made this change in wordpress-popular-posts.php

    Line 53:
    if (empty($this->pluginDir)) $this->pluginDir = WP_PLUGIN_URL . '/wordpress-popular-posts';

    to:
    if (empty($this->pluginDir)) $this->pluginDir = plugins_url() . '/wordpress-popular-posts';

    Can you please update the plugin to work with SSL?

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 3 years ago #

    Hi there,

    Thanks for pointing this out. Will include the suggested fix on the next release of WordPress Popular Posts.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic