WordPress.org

Ready to get started?Download WordPress

Forums

File Un-Attach
Fix for https wp-admin support (3 posts)

  1. David C
    Member
    Posted 2 years ago #

    Hello-

    Your plugin works great except for one minor issue. We use https for wp-admin and had to modify your plugin so it would work correctly.

    Here's the small change you need to make in file-unattach.php line #71:

    CHANGE

    define('FUNATTACH_URL', WP_PLUGIN_URL . "/" . FUNATTACH_FOLDER . "/");

    TO

    define('FUNATTACH_URL', plugins_url("/" . FUNATTACH_FOLDER . "/") );

    That function auto-detects if https is being used or not.

    Would be great if you could make this change in your next update. Thanks.

    Supporting info: http://wordpress.org/extend/ideas/topic/wp_plugin_url-doesnt-take-ssl-into-account

    http://wordpress.org/extend/plugins/file-un-attach/

  2. Hax
    Member
    Plugin Author

    Posted 1 year ago #

    it has been changed, it will be fixed on the next release, thank you for the feedback

  3. David C
    Member
    Posted 1 year ago #

    Great, thanks Hax.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.