• I’ve got an e-commerce site that uses WP Filebase (latest version) and on my SSL pages it’s somehow loading the folder icons (which shouldn’t be loading in the first place) in non-SSL URLs, which breaks the site lock.

    The problem is that WP_CONTENT_URL doesn’t take SSL into account, so it always loads the http:// URL for the folder icons. It should use site_url( 'wp-content'); instead so that the correct URL is passed.

    Further, I’d like a clean way to remove the treeview scripts from pages that don’t need them (to help speed up the site, instead of loading unnecessary JS files on every page).

    http://wordpress.org/plugins/wp-filebase/

Viewing 1 replies (of 1 total)
  • Thread Starter Chris Runnells

    (@crunnells)

    I removed the filters from the content on my e-commerce pages:

    add_action( 'loop_start', 'remove_unneeded_filters', 999 );
    function remove_unneeded_filters() {
    	if ( is_shopp_page() ){
    		remove_filter( 'the_content', 'WPFB_Core::ContentFilter', 10 );
    		remove_filter( 'the_content', 'FPTMain::OutputToContent', 10 );
    	}
    }

    I hope this helps someone. I’d still like to see the folder icons use SSL urls properly.

Viewing 1 replies (of 1 total)
  • The topic ‘WP Filebase Breaks SSL’ is closed to new replies.