Support » Plugin: wp2pgpmail » wp2pgpmail generates 3 errors in Site Health [2]

  • briandd

    (@briandd)


    I reopen this, this plugin is causing multiple errors in site health because of session_start() on all pages, inside securimage.php

    It’s probably not required to session_start if the captcha won’t be used, eg admin pages and cron.

    I added this check:

    if ( ! defined ( 'WP_ADMIN' ) && ! defined ('DOING_CRON') && ! defined ('REST_REQUEST') )session_start();

    • This topic was modified 1 year ago by briandd.
  • The topic ‘wp2pgpmail generates 3 errors in Site Health [2]’ is closed to new replies.