[wp-trac] [WordPress Trac] #49626: Allow plugin developers to opt-out their plugin from auto updates

WordPress Trac noreply at wordpress.org
Mon Jul 6 11:47:55 UTC 2020


#49626: Allow plugin developers to opt-out their plugin from auto updates
-----------------------------+------------------------------
 Reporter:  JaworskiMatt     |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Plugins          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by JaworskiMatt):

 I’m not talking about turning off auto updates for the whole site, just
 every plugin for itself (activated or not). Our plugins are dependent on
 one another, updating one but not another can prevent the “child” plugins
 from initializing their hooks (we prevent a potential whitescreen at an
 expense of disabling certain features).

 Our users know that, but an automatic system won’t - and  there is no
 plugin-to-plugin dependency system in WP (ie don’t update plugin A to ver
 X if plugin B is not at least ver Y).

 In theory it shouldn’t be a problem if we push all updates at the same
 time - which we do - but some our plugins are served from WordPress.org
 and some aren’t and there is no way to make sure these things are synced.
 Every release we get a bunch of tickets “I updated X and now Y is not
 working” only because someone didn’t read the manual and updates from one
 source popped up before updates from another. I expect it to get worse
 with autoupdates in place.

 I can only imagine what kind of havoc might be wrecked if someone is using
 interdependent plugins from various vendors, being talked into “always
 updating cause it’s safer”.

 Either way it’s too late to put anything in 5.5 and this auto update stuff
 seems to be shipped with it. So we will need to find other ways to cope
 with that in our product.

 We figured out we can override the column HTML in the plugin listing as
 long as at least one of our plugins is active - thus killing the auto
 update feature for our entire suite. Now we just need to make sure we opt
 ourselves out retroactively in case someone enabled auto update before
 updating our plugins, and we should be (mostly) fine. We will also keep
 telling our users to stay away from autoupdates of our plugins, like we
 always did (only before it wasn’t a part of Core, so now our education
 efforts need to be doubled).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49626#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list