WordPress.org

Ready to get started?Download WordPress

Forums

Reusable Contents
use of WP_PLUGIN_URL not good for SSL (1 post)

  1. mmtomm
    Member
    Posted 1 year ago #

    Unfortunately, the plugin uses WP_PLUGIN_URL.
    I connect via SSL to my backend and only because of the reusable_contents.png comes with http:... there is always a browser warning for insecure content.
    What I read, is that WP_PLUGIN_URL one should not use for plugins.

    var $version = '1.0';
    	var $path;
    	var $url;
    
    	function __construct() {
    		$this->url = WP_PLUGIN_URL . "/" . plugin_basename( dirname(__FILE__)) . '/';
    		$this->path = dirname(plugin_basename( __FILE__)) . '/';
    		add_action('init', array($this, 'add_post_type'));
    		add_filter('widget_text', 'do_shortcode');
    	}

    how should I fix it, that this image will alsow recognise https:...

    Thanks
    Tom

    http://wordpress.org/extend/plugins/reusable-contents/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic