• Resolved whonickedmyname

    (@whonickedmyname)


    Hi,

    We appear to have the following error when your plugin is activated.

    force_ssl_login is deprecated since version 4.4.0! Use force_ssl_admin() instead. in /var/www/html/wp-includes/functions.php on line 3832

    Could you take a look?

    Many thanks
    Laura

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Paul Gilzow

    (@gilzow)

    It’s part of a check to see if wpDirAuth has been told to only continue over https, but the request isn’t over https. It should only be generating a warning in your logs as the code checks for the presence of the function before calling it. If you’re seeing it on screen then you have error reporting enabled for the site, and should probably go ahead and disable that.

    Having said that, I do plan to remove the call to that function since it was calling both force_ssl_admin() and force_ssl_login() and that is now redundant. However, I wont be able to get that change pushed out until next week. If it’s causing an issue right now, and you need it fixed before I can get the release out, you can simply remove line 1111 from the file

    || (function_exists('force_ssl_login') && !force_ssl_login())

    • This reply was modified 8 years, 6 months ago by Paul Gilzow.
    Plugin Author Paul Gilzow

    (@gilzow)

    This change has been incorporated into v1.10.1 that I just released so I’m going to go ahead and close this thread.

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

The topic ‘force_ssl_login is deprecated’ is closed to new replies.