Support » Plugin: Quote Of The day » [Plugin: Quote Of The day] not compatible with SSL / HTTPS

  • cd-qotd.php

    Starting at Line 42

    Changed from this:

    function cd_get_qotd_plugin_dir() {
    	if(!defined('WP_CONTENT_URL')) {
    		define( 'WP_CONTENT_URL', get_option('siteurl').plugin_basename(dirname(__FILE__)));
    	}
    	return WP_CONTENT_URL.'/plugins/cd-qotd';
    }

    To this:

    function cd_get_qotd_plugin_dir() {
    	return plugins_url('/cd-qotd');
    }

    Then all’s good.

    Please implement this or another fix in next release.

    Thank you.

    http://wordpress.org/extend/plugins/cd-qotd/

  • The topic ‘[Plugin: Quote Of The day] not compatible with SSL / HTTPS’ is closed to new replies.