Title: Edit Lock
Author: doublejar
Published: <strong>19 août 2020</strong>
Last modified: 9 octobre 2022

---

Recherche d’extensions

![](https://ps.w.org/edit-lock/assets/banner-772x250.png?rev=2364700)

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://ps.w.org/edit-lock/assets/icon.svg?rev=2364682)

# Edit Lock

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

[Télécharger](https://downloads.wordpress.org/plugin/edit-lock.1.0.3.zip)

 * [Détails](https://fr.wordpress.org/plugins/edit-lock/#description)
 * [Avis](https://fr.wordpress.org/plugins/edit-lock/#reviews)
 * [Développement](https://fr.wordpress.org/plugins/edit-lock/#developers)

 [Support](https://wordpress.org/support/plugin/edit-lock/)

## Description

When you build a custom-made website, either for your client or yourself, there 
often are pages which contains HTML codes which may break if edited by casual users.

This plugin allows you to disable editing on selected pages, to protect the pages
from accidental or unwanted changes. By locking pages and posts, these crucial pages
cannot be edited or deleted by users. An exception can be added for administrators
to modify pages irregardless of locking status.

Features:

 * Locks any pages, posts, and even media files
 * Custom post types are also supported
 * Works with Gutenberg and Classic Editor
 * Two locking mechanisms available
 * Allows admin users to modify pages without unlocking or lock for everyone

Locking mechanisms:

 * Lock mode — Disable editing or deleting locked posts.
 * Warn mode — Warn users when editing locked posts. Quick edit and deletion are
   disabled.

## Captures d’écrans

[⌊Page listing on WP-Admin showing a locked page.⌉⌊Page listing on WP-Admin showing
a locked page.⌉[

Page listing on WP-Admin showing a locked page.

[⌊An error message is displayed when trying to edit a locked post.⌉⌊An error message
is displayed when trying to edit a locked post.⌉[

An error message is displayed when trying to edit a locked post.

[⌊In case of warn mode, a warning popup message is displayed when trying to edit
a locked post, similar to when you are editing plugin or theme file for the first
time.⌉⌊In case of warn mode, a warning popup message is displayed when trying to
edit a locked post, similar to when you are editing plugin or theme file for the
first time.⌉[

In case of `warn mode`, a warning popup message is displayed when trying to edit
a locked post, similar to when you are editing plugin or theme file for the first
time.

[⌊Edit lock settings page.⌉⌊Edit lock settings page.⌉[

Edit lock settings page.

## FAQ

### How to lock a post?

If `lock toggle` option is enabled, you could lock/unlock a post when browsing posts
on the admin page. Hover a post and click the lock icon below the post title.

If the lock toggle is not enabled, you could lock a post by specifying its ID on
the settings page. Enter one ID per row into the `Locked posts` field.

### Are locked posts accessible by visitors on the site?

Yes, locking posts only disables editing and still allows them to be viewed.

## Avis

![](https://secure.gravatar.com/avatar/62fe212021d456e5fdb54e3ee53bdd71b42a195b3e9ca74c7c0494cb96425d30?
s=60&d=retro&r=g)

### 󠀁[Worth It’s Weight in Gold!!](https://wordpress.org/support/topic/worth-its-weight-in-gold-5/)󠁿

 [stevieboy23](https://profiles.wordpress.org/stevieboy23/) 22 janvier 2022

Still working in WP 5.8.3! If you build WP websites for teams of non-techies, this
is an ESSENTIAL utility for protecting your Homepage (and any other crucial pages)
from unwanted meddling… So easy to set up, this functionality should be in core.

![](https://secure.gravatar.com/avatar/152747e46f10cc51be8b0e9683a7b5a2f691cd63d507277b3768cc9166a84021?
s=60&d=retro&r=g)

### 󠀁[The plugin you never knew you needed till you use it](https://wordpress.org/support/topic/the-plugin-you-never-knew-you-needed-till-you-use-it/)󠁿

 [birdbrainsolutions](https://profiles.wordpress.org/birdbrainsolutions/) 22 février
2021

Thanks for creating the plugin, highly recommended! note: Any possibility of adding
the same functionality to the plugins page? edit: I tried to edit a locked page 
on the frontend, and I couldn’t, seriously loving the plugin!

 [ Lire les 2 avis ](https://wordpress.org/support/plugin/edit-lock/reviews/)

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

« Edit Lock » est un logiciel libre. Les personnes suivantes ont contribué à cette
extension.

Contributeurs

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

[Traduisez « Edit Lock » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/edit-lock)

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

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

## Journal des modifications

#### 1.0.3

 * Tested compatibility with WordPress 6.1

#### 1.0

 * First release

## Méta

 *  Version **1.0.3**
 *  Dernière mise à jour **il y a 4 ans**
 *  Installations actives **500+**
 *  Version de WordPress ** 5.4 ou plus **
 *  Testé jusqu’à **6.1.10**
 *  Version de PHP ** 7.0 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/edit-lock/)
 * Étiquettes
 * [disable post edit](https://fr.wordpress.org/plugins/tags/disable-post-edit/)
   [posts](https://fr.wordpress.org/plugins/tags/posts/)[security](https://fr.wordpress.org/plugins/tags/security/)
   [wp-admin](https://fr.wordpress.org/plugins/tags/wp-admin/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/edit-lock/advanced/)

## Évaluations

 5 sur 5 étoiles.

 *  [  2 avis à 5 étoiles     ](https://wordpress.org/support/plugin/edit-lock/reviews/?filter=5)
 *  [  0 avis à 4 étoile     ](https://wordpress.org/support/plugin/edit-lock/reviews/?filter=4)
 *  [  0 avis à 3 étoile     ](https://wordpress.org/support/plugin/edit-lock/reviews/?filter=3)
 *  [  0 avis à 2 étoile     ](https://wordpress.org/support/plugin/edit-lock/reviews/?filter=2)
 *  [  0 avis à 1 étoile     ](https://wordpress.org/support/plugin/edit-lock/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/edit-lock/reviews/#new-post)

[Voir tous les avis](https://wordpress.org/support/plugin/edit-lock/reviews/)

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/edit-lock/)