• Hi there!

    We run WordPress admin in SSL mode, but the mailchimpSF_main_css is called via wp_enqueue_style defaulting to http (non-SSL) which results in SSL errors on WP admin.

    I fixed this by editing mailchimp.php, line 114 from this:
    //wp_enqueue_style('mailchimpSF_main_css', home_url('?mcsf_action=main_css&ver='.MCSF_VER));

    to this:
    wp_enqueue_style('mailchimpSF_main_css', home_url('?mcsf_action=main_css&ver='.MCSF_VER, 'relative'));

    Just added the ‘relative’ parameter to wp_enqueue_style()

    That fixed the issue – and now the file is called in the same manner as the webpage – http or https, so no SSL errors in the browser.

    Please update the plugin code with this so it’s not overwritten on update. 🙂

    Thanks!

    https://ww.wp.xz.cn/plugins/mailchimp/

Viewing 1 replies (of 1 total)
  • Hey Dan & Jennifer,

    Thanks for the feedback! I’ve gone ahead and let our developers know. Please feel free to let us know if you have any other questions or concerns.

    – Garnet

Viewing 1 replies (of 1 total)

The topic ‘WP Admin SSL Errors – please enqueue mailchimpSF_main_css w/ relative call’ is closed to new replies.