WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Plugin not loading resources via https:// when ssl is enabled

[Resolved] Plugin not loading resources via https:// when ssl is enabled

  • I’ve update recipress.php in order to get it to load resource via https:// when ssl is enabled. So I my site visitors won’t get the “connection is partially encrypted” warning from browsers.

    However there the plugin seems to be load other resources other than code listed below which is causing it not to load all resources via https://

    // Styles and Scripts
    add_action('admin_enqueue_scripts', 'recipress_admin_enqueue');
    function recipress_admin_enqueue() {
    
    	wp_enqueue_script('recipress_back', plugins_url( 'js/back.js' , __FILE__ ));
    
    	wp_enqueue_style('recipress_back', plugins_url( 'css/back.css' , __FILE__ ));
    }
    add_action('wp_enqueue_scripts', 'recipress_wp_enqueue');
    function recipress_wp_enqueue() {
    	wp_enqueue_script('jquery');
    
    	wp_enqueue_style('recipress_front', plugins_url( 'css/front.css' , __FILE__ ));
    }

    Anyone knows where the plugin may be loading additional resources

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

Viewing 1 replies (of 1 total)
  • Solved it.

    Please change the following line 4 in front.css

    @import url(http://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic,700italic);

    to

    @import url(//fonts.googleapis.com/css?family=Ubuntu:400,700,400italic,700italic);

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Plugin not loading resources via https:// when ssl is enabled’ is closed to new replies.