WordPress.org

Ready to get started?Download WordPress

Forums

WP-Cufon
SSL problems due to WP_PLUGIN_DIR (2 posts)

  1. goto10
    Member
    Posted 3 years ago #

    Hello,

    Great Cufon plugin!

    One little easily fixable issue though - Can you replace instances of the WP_PLUGIN_DIR constant with the function plugins_url()? This will fix SSL mixed content warnings when pages are loaded over SSL.

    Cheers

    http://wordpress.org/extend/plugins/wp-cufon/

  2. joeandrews
    Member
    Posted 2 years ago #

    Hi, I am getting the same problem - could you help?

    over https the cufon plugin is being pulled in over http which makes the whole page look insecure.

    which bits do I need to change, I presume its in this bit?
    "if ( ! defined( 'WP_CONTENT_URL' ) )
    define( 'WP_CONTENT_URL', get_option( 'siteurl' ) . '/wp-content' );
    if ( ! defined( 'WP_CONTENT_DIR' ) )
    define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
    if ( ! defined( 'WP_PLUGIN_URL' ) )
    define( 'WP_PLUGIN_URL', WP_CONTENT_URL. '/plugins' );
    if ( ! defined( 'WP_PLUGIN_DIR' ) )
    define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' );"

    thanks to anyone.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags