Support » Plugin: More Privacy Options » Main site visibility changed – false alarm?

  • vemi2709

    (@vemi2709)


    Hi, we have WordPress multisite v5.2.3. Everytime a user creates a new site and at the same time chooses any privacy setting other than ‘Allow search engines to index this site: Yes’ we get an email:
    Site “Company blogs” (ID: 1), https://blogs.company.local, changed reading visibility setting to “Visible(1).”
    Maybe something has changed with newer versions of WordPress that causes this behavior? (I don’t recall when this behavior first started)
    We have not added any new plugins to our site.
    -VeM-

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Sader

    (@dsader)

    The plugin does indeed fire of an email to the SuperAdmin when a blog visibility setting is changed from old value to new value.

    I find the function useful on a k-12 education site I manage.

    If you want the email to cease comment out the line that adds the email hook:

    //email SuperAdmin when privacy changes
    add_action( 'update_blog_public', array($this,'ds_mail_super_admin'));

    becomes

    //email SuperAdmin when privacy changes
    //add_action( 'update_blog_public', array($this,'ds_mail_super_admin'));

    It’s ok if the email is sent when user’s blog’s visibility is changed but now it seems to send an email concerning the visibility change of the main site (ID 1) when in fact a user creates a new site and chooses any other visibility than the default. That’s a bit confusing. We’ll comment out the above line for now so we don’t get those ‘false alarms’. Thanx.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.