WordPress.org

Ready to get started?Download WordPress

Forums

WPNewsman Lite
[resolved] http & https (5 posts)

  1. greben99
    Member
    Posted 1 year ago #

    Hi, something that I have to continually change when I update wpnewsman is http / https issue! my website runs on http and https, as it is an e commerce website. Your plugin uses the WP_PLUGIN_URL constant to get your url, you should use the function plugins_url( '/', __FILE__ ) This function detects the current protocol and changes the url accordingly :-)

    Cheers!!

    http://wordpress.org/extend/plugins/wpnewsman-newsletters/

  2. greben99
    Member
    Posted 1 year ago #

    In wpnewsman.php Line 40, change
    define('NEWSMAN_PLUGIN_URL', WP_PLUGIN_URL.'/'.basename(dirname(__FILE__)));

    TO THIS...

    define('NEWSMAN_PLUGIN_URL', plugins_url( '/', __FILE__ ));

    Thanks for the plugin, love your work!!

  3. neocoder
    Member
    Plugin Contributor

    Posted 1 year ago #

    Hi,
    thanks for the fix. You'll see it in the next release.

    Regards,
    Alex L.

  4. G-Lock Software
    Member
    Plugin Author

    Posted 1 year ago #

    Please try new v1.5.7.

  5. greben99
    Member
    Posted 1 year ago #

    Cheers!! :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.