Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    I’ll take a look.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    It is definitely loaded via HTTPS on my end.

    Thread Starter tcdeskwolf

    (@tcdeskwolf)

    Okay. I found the problem.

    It seems like WP_PLUGIN_URL uses the “siteurl” option and in my database the url is set to http:// instead of https://

    I don’t like to change that option, so it would be nice with a fix..

    Maybe plugins_url() could replace WP_PLUGIN_URL?

    Plugin Author Jeff Farthing

    (@jfarthing84)

    If you switch it out with plugins_url, does it work as expected?

    Thread Starter tcdeskwolf

    (@tcdeskwolf)

    Yes, works.

    wp_enqueue_script( ‘theme-my-login-admin’, plugins_url( ‘theme-my-login/admin/js/theme-my-login-admin.js’ ), array( ‘jquery’ ), Theme_My_Login::version, true );

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Ah, my test site is in the DB as https, hence why it worked for me with the constant. This will be done correctly in the next release.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    TML 6.3.12 was just released resolving this issue.

    Thread Starter tcdeskwolf

    (@tcdeskwolf)

    Thanks, works perfectly. 🙂

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘https issue on admin’ is closed to new replies.