• Resolved barnez

    (@pidengmor)


    Hi,

    I’m wondering how to configure WordPress to update security releases only across major version releases. So, instead of updating core from version 4.9.8 to 5.0, the update would be to 4.9.9. Does define( 'WP_AUTO_UPDATE_CORE', minor ); handle this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator James Huff

    (@macmanx)

    That’s actually how WordPress works right now, without any modification.

    Minor updates, like 4.9.7 to 4.9.8 are applied automatically. Major updates, like 4.9.8 to 5.0 require manually clicking the update button in the Dashboard.

    The exception on that are hosting providers who automatically push out all updates, and for controlling that, you’ll need to check with your hosting provider.

    Thread Starter barnez

    (@pidengmor)

    Thanks James. What about the case where someone wants to postpone updating to the new major release, but wants to receive the security updates that accompany that new release. e.g. 4.9.8, 4.9.9, 4.9.10 …

    Moderator James Huff

    (@macmanx)

    Yep, that’s how WordPress works right now, without any modification.

    All they need to do is not push the Dashboard button to update to 5.0, and WordPress will continue to automatically apply 4.9.x updates.

    Again though, the exception on that are hosting providers who automatically push out all updates, and for controlling that, you’ll need to check with your hosting provider.

    Thread Starter barnez

    (@pidengmor)

    Crystal clear. Much appreciated.

    Jaso

    (@subwebsites)

    Hi @macmanx James

    1. Referring to what you said earlier above, are you saying as of v5 it wont update to next 5.1 by itself or you mean it wont update to v6 by itself? https://prntscr.com/mxmkq1

    2. Or do you mean since v5 it will always continue updating e.g. 5.0.9, 5.1, 5.1.9, (5.2)

    I’m only wanting minor releases only
    Cheers

    Thread Starter barnez

    (@pidengmor)

    WordPress will only automatically update with security releases, not major releases.

    4.9, 5.0, 5.1 … are major releases.
    4.9.1, 4.9.2 …. | 5.0.1, 5,0.2 …. | 5.1.1, 5.1.2 … are security releases

    So:
    5.0 > 5.0.1 > 5.0.2 > 5.0.3 …. YES WordPress will auto update
    4.9 > 5.0 > 5.1 > 5.2 …. NO WordPress will not auto update

    5.1 > 5.1.1 > 5.1.2 > 5.1.3 …. YES
    5.1 > 5.2 > 5.3 …. NO

    Moderator James Huff

    (@macmanx)

    If you want only minor releases applied automatically, simply do nothing, since that is already how WordPress is configured.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Configure automatic minor updates across major version releases’ is closed to new replies.