Title: Protect Version Controlled Updates
Author: RobertGillmer
Published: <strong>3 juin 2016</strong>
Last modified: 21 juin 2016

---

Recherche d’extensions

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://s.w.org/plugins/geopattern-icon/protect-version-controlled-updates.svg)

# Protect Version Controlled Updates

 Par [RobertGillmer](https://profiles.wordpress.org/robertgillmer/)

[Télécharger](https://downloads.wordpress.org/plugin/protect-version-controlled-updates.1.1.0.zip)

 * [Détails](https://fr.wordpress.org/plugins/protect-version-controlled-updates/#description)
 * [Avis](https://fr.wordpress.org/plugins/protect-version-controlled-updates/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/protect-version-controlled-updates/#installation)
 * [Développement](https://fr.wordpress.org/plugins/protect-version-controlled-updates/#developers)

 [Support](https://wordpress.org/support/plugin/protect-version-controlled-updates/)

## Description

This plugin is built to be used on production servers which are version-controlled
with Git. If plugins are updated directly on production, they can get out of sync
with the repo, and later pushes to the server might « roll back » plugin updates
which weren’t committed to the repo.

Users who try to update a plugin via the Plugins screen will get a modal window 
asking for confirmation. Admins can also block updates entirely, so users will still
get the modal window but will only have a cancel button.

The modal title and modal content are admin-configurable through the options page.

Please understand, we’re not advocating _not_ updating plugins. You should still
update all the things with the quickness. Just do it in the repo and push the changes
to the server.

## Captures d’écrans

[⌊The modal title and description are user-changable.  Note that both the plugins
and themes are set to "warn."⌉⌊The modal title and description are user-changable.
Note that both the plugins and themes are set to "warn."⌉[

The modal title and description are user-changable. Note that both the plugins and
themes are set to « warn. »

[⌊The actual modal.  Note that there's a cancel button and an update button.⌉⌊The
actual modal.  Note that there's a cancel button and an update button.⌉[

The actual modal. Note that there’s a cancel button and an update button.

[⌊Setting both plugins and themes to "block."⌉⌊Setting both plugins and themes to"
block."⌉[

Setting both plugins and themes to « block. »

[⌊The actual modal, now with only a cancel button.⌉⌊The actual modal, now with only
a cancel button.⌉[

The actual modal, now with only a cancel button.

## Installation

If you’re running a version-controlled environment, I’m pretty sure that installing
plugins is old hat to you. But just in case…

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Use the Settings->PVCU Options screen to configure the plugin.

## FAQ

#### Does this auto-detect if I have a Git or SVN version-controllled server?

This plugin looks in all the normal spots for .git and/or .svn folders – the root,
the wp-content folder, the plugins folder, the themes folder, and even in the current
theme and the parent theme (if applicable).

#### If it doesn’t autodetect my installation, what then?

You can manually turn on the protection from the options screen.

#### Can I turn the protection off?

You can turn protection off individually for either plugins or themes.

#### Which pages are protected?

The plugins page (plugins.php), the plugin install page (plugin-install.php), and
the general updates page (update-core.php). Future versions will protect the themes
page (themes.php).

#### I can still update my theme from the Themes page, even with protection. What gives?

That’s a known issue. Future versions will protect theme updates from the Themes
screen.

#### Does this protect plugin or theme deletion?

Not at this time, but that’s planned for a future version.

#### Does this protect core?

Not at this time, but that’s planned for a future version.

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« Protect Version Controlled Updates » est un logiciel libre. Les personnes suivantes
ont contribué à cette extension.

Contributeurs

 *   [ RobertGillmer ](https://profiles.wordpress.org/robertgillmer/)

[Traduisez « Protect Version Controlled Updates » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/protect-version-controlled-updates)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/protect-version-controlled-updates/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/protect-version-controlled-updates/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/protect-version-controlled-updates/)
par [RSS](https://plugins.trac.wordpress.org/log/protect-version-controlled-updates/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.1

 * Extensive refactoring of functions to allow for separate choices for plugins,
   themes, and core (upcoming release).
 * Removed the checkbox to disable protection.
 * Merged the protection disabling into the radio button choices for plugins and
   for themes.
 * Updated JS to intercept form submissions for updates.

#### 1.0

 * Initial release

## Méta

 *  Version **1.1.0**
 *  Dernière mise à jour **il y a 10 ans**
 *  Installations actives **Moins de 10**
 *  Version de WordPress ** 4.2 ou plus **
 *  Testé jusqu’à **4.5.33**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/protect-version-controlled-updates/)
 * Étiquettes
 * [git](https://fr.wordpress.org/plugins/tags/git/)[version control](https://fr.wordpress.org/plugins/tags/version-control/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/protect-version-controlled-updates/advanced/)

## Évaluations

Aucun avis n’a encore été envoyé.

[Votre avis](https://wordpress.org/support/plugin/protect-version-controlled-updates/reviews/#new-post)

[Tout voir](https://wordpress.org/support/plugin/protect-version-controlled-updates/reviews/)

## Contributeurs

 *   [ RobertGillmer ](https://profiles.wordpress.org/robertgillmer/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/protect-version-controlled-updates/)