[wp-trac] [WordPress Trac] #37301: A way to test plugin/theme installs and updates before applying

WordPress Trac noreply at wordpress.org
Thu Jul 7 09:43:26 UTC 2016


#37301: A way to test plugin/theme installs and updates before applying
-----------------------------+---------------------------------
 Reporter:  Zuige            |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Plugins          |     Version:  4.4.3
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  ui, administration
-----------------------------+---------------------------------

Comment (by swissspidy):

 Related: #31532, #31744

 There's also some work going on for Shiny Updates V3:

 https://github.com/obenland/shiny-updates/issues/288
 https://github.com/obenland/shiny-updates/issues/292

 I like that comment from the first ticket:

 > We also need to take care of updates and not allowing updates to a
 version that contains a fatal error. I would love for us to store the
 current version and restore that version if an update fails, but that may
 be out of scope for now.

 As pointed out, WordPress currently has kind of a plugin sandbox so it can
 notify users if a plugin activation failed. That's what I love about it —
 it just works.

 I agree that staging environments are considered a best practice, but the
 average user probably has no idea what that is. However, I don't think
 it's suitable for core to give the user an option to test drive this in a
 semi-separate environment, ''“where they can freely install and test
 plugins without worrying about breaking anything”''.That sounds like a big
 attack surface and something not many users would use or understand. I'm
 pretty sure that symlinks won't work on many hosts either. Hence I
 consider this being plugin material, so thanks for creating this plugin.

 For core, I'd rather have automatic tests of updates and rollbacks if
 there's a fatal error.

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


More information about the wp-trac mailing list