Ready to get started?Download WordPress


[resolved] Mixed Content Warning with Secure Admin (4 posts)

  1. ec5774
    Posted 8 months ago #

    When I load the theme check plugin page inside WordPress, I am getting mixed content warnings and the appearance of the page is much degraded.

    The error message is Blocked loading mixed active content "http://hostname.com/wordpress/wp-content/plugins/theme-check/style.css" @ https://hostname.com/wordpress/wp-admin/themes.php?page=themecheck

    Can this be changed to use a protocol agnostic URL?


  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 8 months ago #

    I'll look into it, but the Theme Check plugin probably isn't something you should use on a live site. It's meant for development, so it would mainly be used on a development site instead.

  3. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 8 months ago #

    You should be able to replace the wp_enqueue_style call at the top of the main plugin file with this line:

    wp_enqueue_style('style', plugins_url( 'style.css', __FILE__ ), null, null, 'screen');

    And that should fix it. Let me know if that works for you.

  4. ec5774
    Posted 8 months ago #

    Yes this fixes it.

    Suggestion: you could include this change in any future version of the plugin for others who might be using SSL Admin.



You must log in to post.

About this Plugin

About this Topic