[wp-trac] [WordPress Trac] #47389: Display warning message on the Updates screen when a VCS is in use

WordPress Trac noreply at wordpress.org
Sat May 25 13:42:18 UTC 2019


#47389: Display warning message on the Updates screen when a VCS is in use
-----------------------------+-----------------------------
 Reporter:  johnbillion      |      Owner:  (none)
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  3.7
 Severity:  normal           |   Keywords:  needs-patch
  Focuses:                   |
-----------------------------+-----------------------------
 When a version control system is in use, an appropriate warning message
 should be shown on the Updates screen, recommending that updates be
 performed via their VCS instead. The update action shouldn't be blocked,
 though.

 Similarly, for every plugin and theme that has an update available,
 WordPress should check whether the individual plugin or theme's directory
 is under version control and present a similar warning because updating a
 plugin or theme will completely wipe out its directory, therefore allowing
 version history to be lost.

 The `WP_Upgrader::is_vcs_checkout( ... )` method can be used to detect VCS
 usage.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47389>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list