WordPress.org

Ready to get started?Download WordPress

Forums

WordPress File Monitor Plus
[resolved] Bug: 'Clear admin alert' link links does not conside (4 posts)

  1. mistaecko
    Member
    Posted 2 years ago #

    When connecting via https the 'Clear admin alert' button in the 'View file changes and clear this alert' dialog links to http:// when connected via https (SSL).
    This will cause the action to fail because the browser will drop out of the admin interface.

    Thanks!

    http://wordpress.org/extend/plugins/wordpress-file-monitor-plus/

  2. Scott Cariss
    Member
    Plugin Author

    Posted 2 years ago #

    I will look into. Thanks for the heads up.

    I think this is a simple thing to change site_url() to admin_url() instead.

  3. Scott Cariss
    Member
    Plugin Author

    Posted 2 years ago #

    Urmmm... I'm using this to generate the URL of the clear notice:

    admin_url("options-general.php?page=wordpress-file-monitor-plus&sc_wpfmp_action=sc_wpfmp_clear_admin_alert")

    So if your WordPress installation is set to use HTTPS it will generate the correct URL. I have just tested this on an SSL enabled site and this functions fine.

    Which way have you enabled admin https?

    define('FORCE_SSL_ADMIN', true); in your config file is the correct way.

  4. mistaecko
    Member
    Posted 2 years ago #

    Thanks, Scott, for looking into this.

    I am experimenting with various HTTPS plugins and htaccess rules. So the problem might actually be with my setup and not with your plugin.

    First I thought that you might have hard-coded the protocol since this was the only link that did not render the protocol correctly. However, later it started to render correctly.

    Right now I experience the same problem in a different part of wordpress (on the login page).

    Sorry for the false alarm.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic