• Dillx

    (@dillx)


    I have been trying to work out what the default email options are for the wordpress auto updates. All the documentation points at version 3.7 but I get the impresstion that things have changed since then.

    I haven’t changed any wordpress autoupdate settings and use wordfence (set to email when wordfence is updated).

    I get an email to tell me that plugins are in need of updating. I don’t get any emails to tell me they have been updated (I’d like it to tell me when things have been updated).

Viewing 10 replies - 1 through 10 (of 10 total)
  • byanofsky

    (@byanofsky)

    Hi Dillx

    This article may be of some help: https://managewp.com/configure-disable-automatic-wordpress-updates

    Thread Starter Dillx

    (@dillx)

    um still don’t understand why plugins are updated but I get no messages from wordpress.

    There are no entries in the config.php files other than the default ones.

    Thread Starter Dillx

    (@dillx)

    You have the latest version of WordPress. Future security updates will be applied automatically.

    byanofsky

    (@byanofsky)

    Hi. Are you receiving any emails from WordPress? Such as for comments? Your email service provider may be blocking emails.

    Thread Starter Dillx

    (@dillx)

    I receive emails for comments requiring approval and messages from Wordfence about plugins.

    Much to my frustration I receive nothing about updates to plugins. I have had another minor problem caused by a autoupdate to a plugin. Wouldnt be so bad if I’d have known an update had happened.

    Thread Starter Dillx

    (@dillx)

    I’m reluctant to start messing with any settings until I understand why these emails arent being sent in the first place.

    Hmm. I’m actually not too sure. I know there is a lot of talk about auto updates occurring without people opting in to auto updates.

    But haven’t heard too much about emails during auto updates.

    This may be a good idea for a plugin if this functionality doesn’t already exist.

    Perhaps try this:

    https://codex.www.ads-software.com/Configuring_Automatic_Background_Updates

    /* @param bool   $send        Whether to send the email. Default true.
     * @param string $type        The type of email to send.
     *                            Can be one of 'success', 'fail', 'critical'.
     * @param object $core_update The update offer that was attempted.
     * @param mixed  $result      The result for the core update. Can be WP_Error.
     */
    apply_filters( 'auto_core_update_send_email', true, $type, $core_update, $result );

    Needs to be added in to your functions.php

    Thread Starter Dillx

    (@dillx)

    I think you have to create a must-use plugin.

    “The best place to put these filters is in a must-use plugin.
    Note: Do not add add_filter() calls in wp-config.php – causes conflicts with WP-CLI and possibly other problems.”

    I might try a creating a simple must-use plugin with the code in you suggested.

    Thread Starter Dillx

    (@dillx)

    Have created a MU-plugin with suggested code. Have to see if it makes any difference. Should it send emails when it autoupdates plugins ?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘WordPress Auto Updates – default – emails’ is closed to new replies.